public class LibraryField extends LibraryMember implements Field
Field
represents a field in a LibraryClass
.Modifier and Type | Field and Description |
---|---|
Clazz |
referencedClass
An extra field pointing to the Clazz object referenced in the descriptor string.
|
descriptor, name, u2accessFlags
processingFlags, processingInfo
Constructor and Description |
---|
LibraryField()
Creates an uninitialized LibraryField.
|
LibraryField(int u2accessFlags,
java.lang.String name,
java.lang.String descriptor)
Creates an initialized LibraryField.
|
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 referencedClass
ClassReferenceInitializer
. References
to primitive types are ignored.public LibraryField()
public LibraryField(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