Package proguard.classfile
Class LibraryMethod
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.LibraryMember
proguard.classfile.LibraryMethod
- All Implemented Interfaces:
Serializable,Member,Method,Processable
This
Method represents a method in a LibraryClass.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionClazz[]An extra field containing all the classes referenced in the descriptor string.Fields inherited from class proguard.classfile.LibraryMember
descriptor, name, u2accessFlagsFields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo -
Constructor Summary
ConstructorsConstructorDescriptionCreates an uninitialized LibraryMethod.LibraryMethod(int u2accessFlags, String name, String descriptor) Creates an initialized LibraryMethod. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(LibraryClass libraryClass, MemberVisitor memberVisitor) Accepts the given member info visitor.voidreferencedClassesAccept(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, getNameMethods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.classfile.Member
accept, getAccessFlags, getDescriptor, getNameMethods inherited from interface proguard.util.Processable
accept, getProcessingFlags, getProcessingInfo, setProcessingFlags, setProcessingInfo
-
Field Details
-
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.
-
-
Constructor Details
-
LibraryMethod
public LibraryMethod()Creates an uninitialized LibraryMethod. -
LibraryMethod
Creates an initialized LibraryMethod.
-
-
Method Details
-
accept
Description copied from class:LibraryMemberAccepts the given member info visitor.- Specified by:
acceptin classLibraryMember
-
referencedClassesAccept
Description copied from interface:MemberLets the Clazz objects referenced in the descriptor string accept the given visitor.- Specified by:
referencedClassesAcceptin interfaceMember
-