Package proguard.classfile
Class LibraryMethod
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.LibraryMember
-
- proguard.classfile.LibraryMethod
-
- All Implemented Interfaces:
java.io.Serializable
,Member
,Method
,Processable
public class LibraryMethod extends LibraryMember implements Method
ThisMethod
represents a method in aLibraryClass
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Clazz[]
referencedClasses
An extra field containing all the classes 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 LibraryMethod()
Creates an uninitialized LibraryMethod.LibraryMethod(int u2accessFlags, java.lang.String name, java.lang.String descriptor)
Creates an initialized LibraryMethod.
-
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
-
referencedClasses
public Clazz[] referencedClasses
An extra field containing all the classes referenced in the descriptor string. This field is filled out by theClassReferenceInitializer
. 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.
-
-
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
-
-