public class Method extends Object implements KnowsRawSize, TypeUsageCollectable
Modifier and Type | Class and Description |
---|---|
static class |
Method.MethodConstructor |
static class |
Method.Visibility |
Constructor and Description |
---|
Method(ByteData raw,
ClassFile classFile,
ConstantPool cp,
DCCommonState dcCommonState,
ClassFileVersion classFileVersion) |
public Method(ByteData raw, ClassFile classFile, ConstantPool cp, DCCommonState dcCommonState, ClassFileVersion classFileVersion)
public boolean hasDumpableAttributes()
public void collectTypeUsages(TypeUsageCollector collector)
collectTypeUsages
in interface TypeUsageCollectable
public boolean copyLocalClassesFrom(Method other)
public Set<AccessFlagMethod> getAccessFlags()
public void hideSynthetic()
public void hideDead()
public Method.Visibility hiddenState()
public boolean testAccessFlag(AccessFlagMethod flag)
public Method.MethodConstructor getConstructorFlag()
public void setConstructorFlag(Method.MethodConstructor flag)
public VariableNamer getVariableNamer()
public ClassFile getClassFile()
public long getRawByteLength()
getRawByteLength
in interface KnowsRawSize
public String getName()
public MethodPrototype getMethodPrototype()
public void markUsedLocalClassType(JavaTypeInstance javaTypeInstance, String suggestedName)
public void markUsedLocalClassType(JavaTypeInstance javaTypeInstance)
public Set<JavaTypeInstance> getThrownTypes()
public Op04StructuredStatement getAnalysis()
public boolean isConstructor()
public boolean hasCodeAttribute()
public AttributeCode getCodeAttribute()
public void setComments(DecompilerComments comments)
public boolean isVisibleTo(JavaRefTypeInstance maybeCaller)
public void dump(Dumper d, boolean asClass)
Copyright © 2011-2021. All Rights Reserved.