Package proguard.classfile.attribute
Class LocalVariableInfo
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.LocalVariableInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
,Processable
public class LocalVariableInfo extends SimpleProcessable implements java.lang.Comparable
Representation of a local variable table entry.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Clazz
referencedClass
An extra field pointing to the referenced Clazz object.int
u2descriptorIndex
int
u2index
int
u2length
int
u2nameIndex
int
u2startPC
-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description LocalVariableInfo()
Creates an uninitialized LocalVariableInfo.LocalVariableInfo(int u2startPC, int u2length, int u2nameIndex, int u2descriptorIndex, int u2index)
Creates an initialized LocalVariableInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.lang.Object object)
java.lang.String
getDescriptor(Clazz clazz)
Returns the descriptor.java.lang.String
getName(Clazz clazz)
Returns the name.void
referencedClassAccept(ClassVisitor classVisitor)
Lets the referenced class accept the given visitor.-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
Field Detail
-
u2startPC
public int u2startPC
-
u2length
public int u2length
-
u2nameIndex
public int u2nameIndex
-
u2descriptorIndex
public int u2descriptorIndex
-
u2index
public int u2index
-
referencedClass
public Clazz referencedClass
An extra field pointing to the referenced Clazz object. This field is typically filled out by the
.ClassReferenceInitializer
-
-
Method Detail
-
getName
public java.lang.String getName(Clazz clazz)
Returns the name.
-
getDescriptor
public java.lang.String getDescriptor(Clazz clazz)
Returns the descriptor.
-
referencedClassAccept
public void referencedClassAccept(ClassVisitor classVisitor)
Lets the referenced class accept the given visitor.
-
compareTo
public int compareTo(java.lang.Object object)
- Specified by:
compareTo
in interfacejava.lang.Comparable
-
-