public class ProgramMethod extends ProgramMember implements Method
| Modifier and Type | Field and Description |
|---|---|
Clazz[] |
referencedClasses
An extra field pointing to the Clazz objects referenced in the
descriptor string.
|
attributes, u2accessFlags, u2attributesCount, u2descriptorIndex, u2nameIndex, visitorInfo| Constructor and Description |
|---|
ProgramMethod()
Creates an uninitialized ProgramMethod.
|
ProgramMethod(int u2accessFlags,
int u2nameIndex,
int u2descriptorIndex,
int u2attributesCount,
Attribute[] attributes,
Clazz[] referencedClasses)
Creates an initialized ProgramMethod.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ProgramClass programClass,
MemberVisitor memberVisitor)
Accepts the given member info visitor.
|
void |
attributesAccept(ProgramClass programClass,
AttributeVisitor attributeVisitor)
Lets the given attribute info visitor visit all the attributes of
this member info.
|
void |
referencedClassesAccept(ClassVisitor classVisitor)
Lets the Clazz objects referenced in the descriptor string
accept the given visitor.
|
accept, getAccessFlags, getDescriptor, getName, getVisitorInfo, setVisitorInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getAccessFlags, getDescriptor, getNamegetVisitorInfo, setVisitorInfopublic Clazz[] referencedClasses
ClassReferenceInitializer.
References to primitive types are ignored.public void accept(ProgramClass programClass, MemberVisitor memberVisitor)
ProgramMemberaccept in class ProgramMemberpublic void attributesAccept(ProgramClass programClass, AttributeVisitor attributeVisitor)
ProgramMemberattributesAccept in class ProgramMemberpublic void referencedClassesAccept(ClassVisitor classVisitor)
MemberreferencedClassesAccept in interface MemberCopyright © 2014. All Rights Reserved.