public class LibraryMethod extends LibraryMember implements Method
| Modifier and Type | Field and Description |
|---|---|
Clazz[] |
referencedClasses
An extra field containing all the classes referenced in the
descriptor string.
|
descriptor, name, u2accessFlags, visitorInfo| Constructor and Description |
|---|
LibraryMethod()
Creates an uninitialized LibraryMethod.
|
LibraryMethod(int u2accessFlags,
String name,
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, getVisitorInfo, setVisitorInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getAccessFlags, getDescriptor, getNamegetVisitorInfo, setVisitorInfopublic 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 void accept(LibraryClass libraryClass, MemberVisitor memberVisitor)
LibraryMemberaccept in class LibraryMemberpublic void referencedClassesAccept(ClassVisitor classVisitor)
MemberreferencedClassesAccept in interface MemberCopyright © 2015. All Rights Reserved.