public class LibraryMethod extends LibraryMember implements Method
Method
represents a method in a LibraryClass
.Modifier and Type | Field and Description |
---|---|
Clazz[] |
referencedClasses
An extra field containing all the classes referenced in the descriptor string.
|
descriptor, name, u2accessFlags
processingFlags, processingInfo
Constructor and Description |
---|
LibraryMethod()
Creates an uninitialized LibraryMethod.
|
LibraryMethod(int u2accessFlags,
java.lang.String name,
java.lang.String descriptor)
Creates an initialized LibraryMethod.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(LibraryClass libraryClass,
MemberVisitor memberVisitor)
Accepts the given member info visitor.
|
void |
referencedClassesAccept(ClassVisitor classVisitor)
Lets the Clazz objects referenced in the descriptor string accept the given visitor.
|
accept, getAccessFlags, getDescriptor, getName
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, getAccessFlags, getDescriptor, getName
getProcessingFlags, getProcessingInfo, setProcessingFlags, setProcessingInfo
public Clazz[] referencedClasses
ClassReferenceInitializer
. The size of the array is the number of classes in the descriptor.
Primitive types and arrays of primitive types are ignored. Unknown classes are represented as
null values.public LibraryMethod()
public LibraryMethod(int u2accessFlags, java.lang.String name, java.lang.String descriptor)
public void accept(LibraryClass libraryClass, MemberVisitor memberVisitor)
LibraryMember
accept
in class LibraryMember
public void referencedClassesAccept(ClassVisitor classVisitor)
Member
referencedClassesAccept
in interface Member