Class LocalVariableTableEntry
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.LocalVariableTableEntry
- All Implemented Interfaces:
ILocalVariableTableEntry
Default implementation of ILocalVariableTableEntry
-
Constructor Summary
ConstructorDescriptionLocalVariableTableEntry(byte[] classFileBytes, IConstantPool constantPool, int offset)
Constructor for LocalVariableTableEntry. -
Method Summary
Modifier and TypeMethodDescriptionchar[]
Answer back the descriptor of this entry as specified in the JVM specifications.int
Answer back the descriptor index in the constant pool of this entry as specified in the JVM specifications.int
getIndex()
Answer back the index of this entry as specified in the JVM specifications.int
Answer back the length of this entry as specified in the JVM specifications.char[]
getName()
Answer back the name of this entry as specified in the JVM specifications.int
Answer back the name index in the constant pool of this entry as specified in the JVM specifications.int
Answer back the start pc of this entry as specified in the JVM specifications.
-
Constructor Details
-
LocalVariableTableEntry
public LocalVariableTableEntry(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatExceptionConstructor for LocalVariableTableEntry.- Parameters:
classFileBytes
-constantPool
-offset
-- Throws:
ClassFormatException
-
-
Method Details
-
getStartPC
public int getStartPC()Description copied from interface:ILocalVariableTableEntry
Answer back the start pc of this entry as specified in the JVM specifications.- Specified by:
getStartPC
in interfaceILocalVariableTableEntry
- Returns:
- the start pc of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTableEntry.getStartPC()
-
getLength
public int getLength()Description copied from interface:ILocalVariableTableEntry
Answer back the length of this entry as specified in the JVM specifications.- Specified by:
getLength
in interfaceILocalVariableTableEntry
- Returns:
- the length of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTableEntry.getLength()
-
getNameIndex
public int getNameIndex()Description copied from interface:ILocalVariableTableEntry
Answer back the name index in the constant pool of this entry as specified in the JVM specifications.- Specified by:
getNameIndex
in interfaceILocalVariableTableEntry
- Returns:
- the name index in the constant pool of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTableEntry.getNameIndex()
-
getDescriptorIndex
public int getDescriptorIndex()Description copied from interface:ILocalVariableTableEntry
Answer back the descriptor index in the constant pool of this entry as specified in the JVM specifications.- Specified by:
getDescriptorIndex
in interfaceILocalVariableTableEntry
- Returns:
- the descriptor index in the constant pool of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTableEntry.getDescriptorIndex()
-
getIndex
public int getIndex()Description copied from interface:ILocalVariableTableEntry
Answer back the index of this entry as specified in the JVM specifications.- Specified by:
getIndex
in interfaceILocalVariableTableEntry
- Returns:
- the index of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTableEntry.getIndex()
-
getName
public char[] getName()Description copied from interface:ILocalVariableTableEntry
Answer back the name of this entry as specified in the JVM specifications.- Specified by:
getName
in interfaceILocalVariableTableEntry
- Returns:
- the name of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTableEntry.getName()
-
getDescriptor
public char[] getDescriptor()Description copied from interface:ILocalVariableTableEntry
Answer back the descriptor of this entry as specified in the JVM specifications.- Specified by:
getDescriptor
in interfaceILocalVariableTableEntry
- Returns:
- the descriptor of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTableEntry.getDescriptor()
-