public abstract class ProgramMember extends SimpleProcessable implements Member
ProgramClass
.Modifier and Type | Field and Description |
---|---|
Attribute[] |
attributes |
int |
u2accessFlags |
int |
u2attributesCount |
int |
u2descriptorIndex |
int |
u2nameIndex |
processingFlags, processingInfo
Modifier | Constructor and Description |
---|---|
protected |
ProgramMember()
Creates an uninitialized ProgramMember.
|
protected |
ProgramMember(int u2accessFlags,
int u2nameIndex,
int u2descriptorIndex,
int u2attributesCount,
Attribute[] attributes)
Creates an initialized ProgramMember.
|
protected |
ProgramMember(int u2accessFlags,
int u2nameIndex,
int u2descriptorIndex,
int u2attributesCount,
Attribute[] attributes,
int processingFlags,
java.lang.Object processingInfo)
Creates an initialized ProgramMember.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Clazz clazz,
MemberVisitor memberVisitor)
Accepts the given class visitor.
|
abstract void |
accept(ProgramClass programClass,
MemberVisitor memberVisitor)
Accepts the given member info visitor.
|
abstract void |
attributesAccept(ProgramClass programClass,
AttributeVisitor attributeVisitor)
Lets the given attribute info visitor visit all the attributes of this member info.
|
int |
getAccessFlags()
Returns the access flags.
|
java.lang.String |
getDescriptor(Clazz clazz)
Returns the class member's descriptor.
|
java.lang.String |
getName(Clazz clazz)
Returns the class member name.
|
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
referencedClassesAccept
getProcessingFlags, getProcessingInfo, setProcessingFlags, setProcessingInfo
public int u2accessFlags
public int u2nameIndex
public int u2descriptorIndex
public int u2attributesCount
public Attribute[] attributes
protected ProgramMember()
protected ProgramMember(int u2accessFlags, int u2nameIndex, int u2descriptorIndex, int u2attributesCount, Attribute[] attributes)
protected ProgramMember(int u2accessFlags, int u2nameIndex, int u2descriptorIndex, int u2attributesCount, Attribute[] attributes, int processingFlags, java.lang.Object processingInfo)
public abstract void accept(ProgramClass programClass, MemberVisitor memberVisitor)
public abstract void attributesAccept(ProgramClass programClass, AttributeVisitor attributeVisitor)
public int getAccessFlags()
Member
getAccessFlags
in interface Member
public java.lang.String getName(Clazz clazz)
Member
public java.lang.String getDescriptor(Clazz clazz)
Member
getDescriptor
in interface Member
public void accept(Clazz clazz, MemberVisitor memberVisitor)
Member