Class LocalVariableTypeTableEntry
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.LocalVariableTypeTableEntry
- All Implemented Interfaces:
ILocalVariableTypeTableEntry
public class LocalVariableTypeTableEntry
extends ClassFileStruct
implements ILocalVariableTypeTableEntry
Default implementation of ILocalVariableTypeTableEntry
-
Constructor Summary
ConstructorDescriptionLocalVariableTypeTableEntry(byte[] classFileBytes, IConstantPool constantPool, int offset)
Constructor for LocalVariableTypeTableEntry. -
Method Summary
Modifier and TypeMethodDescriptionint
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.char[]
Answer back the signature of this entry as specified in the JVM specifications.int
Answer back the signature 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
-
LocalVariableTypeTableEntry
public LocalVariableTypeTableEntry(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatExceptionConstructor for LocalVariableTypeTableEntry.- Parameters:
classFileBytes
-constantPool
-offset
-- Throws:
ClassFormatException
-
-
Method Details
-
getStartPC
public int getStartPC()Description copied from interface:ILocalVariableTypeTableEntry
Answer back the start pc of this entry as specified in the JVM specifications.- Specified by:
getStartPC
in interfaceILocalVariableTypeTableEntry
- Returns:
- the start pc of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTypeTableEntry.getStartPC()
-
getLength
public int getLength()Description copied from interface:ILocalVariableTypeTableEntry
Answer back the length of this entry as specified in the JVM specifications.- Specified by:
getLength
in interfaceILocalVariableTypeTableEntry
- Returns:
- the length of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTypeTableEntry.getLength()
-
getNameIndex
public int getNameIndex()Description copied from interface:ILocalVariableTypeTableEntry
Answer back the name index in the constant pool of this entry as specified in the JVM specifications.- Specified by:
getNameIndex
in interfaceILocalVariableTypeTableEntry
- Returns:
- the name index in the constant pool of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTypeTableEntry.getNameIndex()
-
getSignatureIndex
public int getSignatureIndex()Description copied from interface:ILocalVariableTypeTableEntry
Answer back the signature index in the constant pool of this entry as specified in the JVM specifications.- Specified by:
getSignatureIndex
in interfaceILocalVariableTypeTableEntry
- Returns:
- the signature index in the constant pool of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTypeTableEntry.getSignatureIndex()
-
getIndex
public int getIndex()Description copied from interface:ILocalVariableTypeTableEntry
Answer back the index of this entry as specified in the JVM specifications.- Specified by:
getIndex
in interfaceILocalVariableTypeTableEntry
- Returns:
- the index of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTypeTableEntry.getIndex()
-
getName
public char[] getName()Description copied from interface:ILocalVariableTypeTableEntry
Answer back the name of this entry as specified in the JVM specifications.- Specified by:
getName
in interfaceILocalVariableTypeTableEntry
- Returns:
- the name of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTypeTableEntry.getName()
-
getSignature
public char[] getSignature()Description copied from interface:ILocalVariableTypeTableEntry
Answer back the signature of this entry as specified in the JVM specifications.- Specified by:
getSignature
in interfaceILocalVariableTypeTableEntry
- Returns:
- the signature of this entry as specified in the JVM specifications
- See Also:
ILocalVariableTypeTableEntry.getSignature()
-