Package proguard.classfile
Class LibraryField
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.LibraryMember
-
- proguard.classfile.LibraryField
-
- All Implemented Interfaces:
java.io.Serializable
,Field
,Member
,Processable
public class LibraryField extends LibraryMember implements Field
ThisField
represents a field in aLibraryClass
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Clazz
referencedClass
An extra field pointing to the Clazz object referenced in the descriptor string.-
Fields inherited from class proguard.classfile.LibraryMember
descriptor, name, u2accessFlags
-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description LibraryField()
Creates an uninitialized LibraryField.LibraryField(int u2accessFlags, java.lang.String name, java.lang.String descriptor)
Creates an initialized LibraryField.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class proguard.classfile.LibraryMember
accept, getAccessFlags, getDescriptor, getName
-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.classfile.Member
accept, getAccessFlags, getDescriptor, getName
-
Methods inherited from interface proguard.util.Processable
getProcessingFlags, getProcessingInfo, setProcessingFlags, setProcessingInfo
-
-
-
-
Field Detail
-
referencedClass
public Clazz referencedClass
An extra field pointing to the Clazz object referenced in the descriptor string. This field is filled out by the
. References to primitive types are ignored.ClassReferenceInitializer
-
-
Method Detail
-
accept
public void accept(LibraryClass libraryClass, MemberVisitor memberVisitor)
Description copied from class:LibraryMember
Accepts the given member info visitor.- Specified by:
accept
in classLibraryMember
-
referencedClassesAccept
public void referencedClassesAccept(ClassVisitor classVisitor)
Description copied from interface:Member
Lets the Clazz objects referenced in the descriptor string accept the given visitor.- Specified by:
referencedClassesAccept
in interfaceMember
-
-