Package proguard.classfile.attribute
Class LocalVariableTypeInfo
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.LocalVariableTypeInfo
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable,Processable
public class LocalVariableTypeInfo extends SimpleProcessable implements java.lang.Comparable
Representation of a local variable table type entry.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Clazz[]referencedClassesAn extra field pointing to the Clazz objects referenced in the type string.intu2indexintu2lengthintu2nameIndexintu2signatureIndexintu2startPC-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description LocalVariableTypeInfo()Creates an uninitialized LocalVariableTypeInfo.LocalVariableTypeInfo(int u2startPC, int u2length, int u2nameIndex, int u2signatureIndex, int u2index)Creates an initialized LocalVariableTypeInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(java.lang.Object object)java.lang.StringgetName(Clazz clazz)Returns the name.java.lang.StringgetSignature(Clazz clazz)Returns the signature.voidreferencedClassesAccept(ClassVisitor classVisitor)Applies the given visitor to all referenced classes.-
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.util.Processable
accept
-
-
-
-
Field Detail
-
u2startPC
public int u2startPC
-
u2length
public int u2length
-
u2nameIndex
public int u2nameIndex
-
u2signatureIndex
public int u2signatureIndex
-
u2index
public int u2index
-
referencedClasses
public Clazz[] referencedClasses
An extra field pointing to the Clazz objects referenced in the type string. This field is typically filled out by the. References to primitive types are ignored.ClassReferenceInitializer
-
-
Method Detail
-
getName
public java.lang.String getName(Clazz clazz)
Returns the name.
-
getSignature
public java.lang.String getSignature(Clazz clazz)
Returns the signature.
-
referencedClassesAccept
public void referencedClassesAccept(ClassVisitor classVisitor)
Applies the given visitor to all referenced classes.
-
compareTo
public int compareTo(java.lang.Object object)
- Specified by:
compareToin interfacejava.lang.Comparable
-
-