Package com.aparapi.internal.model
Class ClassModel.ClassModelMethod
- java.lang.Object
-
- com.aparapi.internal.model.ClassModel.ClassModelMethod
-
- Enclosing class:
- ClassModel
public class ClassModel.ClassModelMethod extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ClassModel.AttributePool.CodeEntry
codeEntry
private int
descriptorIndex
private int
index
private int
methodAccessFlags
private ClassModel.AttributePool
methodAttributePool
private int
nameIndex
-
Constructor Summary
Constructors Constructor Description ClassModelMethod(org.apache.bcel.classfile.Method method, int _index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAccessFlags()
ClassModel.AttributePool
getAttributePool()
ClassModel
getClassModel()
byte[]
getCode()
ClassModel.AttributePool.CodeEntry
getCodeEntry()
ClassModel.ConstantPool
getConstantPool()
java.lang.String
getDescriptor()
int
getDescriptorIndex()
ClassModel.ConstantPool.UTF8Entry
getDescriptorUTF8Entry()
int
getIndex()
ClassModel.AttributePool.LineNumberTableEntry
getLineNumberTableEntry()
ClassModel.LocalVariableInfo
getLocalVariable(int _pc, int _index)
ClassModel.LocalVariableTableEntry
getLocalVariableTableEntry()
java.lang.String
getName()
int
getNameIndex()
ClassModel.ConstantPool.UTF8Entry
getNameUTF8Entry()
ClassModel
getOwnerClassModel()
boolean
isStatic()
(package private) void
setLocalVariableTableEntry(ClassModel.LocalVariableTableEntry _localVariableTableEntry)
java.lang.String
toString()
-
-
-
Field Detail
-
methodAccessFlags
private final int methodAccessFlags
-
methodAttributePool
private final ClassModel.AttributePool methodAttributePool
-
descriptorIndex
private final int descriptorIndex
-
index
private final int index
-
nameIndex
private final int nameIndex
-
codeEntry
private final ClassModel.AttributePool.CodeEntry codeEntry
-
-
Method Detail
-
getAccessFlags
public int getAccessFlags()
-
isStatic
public boolean isStatic()
-
getAttributePool
public ClassModel.AttributePool getAttributePool()
-
getCodeEntry
public ClassModel.AttributePool.CodeEntry getCodeEntry()
-
getDescriptor
public java.lang.String getDescriptor()
-
getDescriptorIndex
public int getDescriptorIndex()
-
getDescriptorUTF8Entry
public ClassModel.ConstantPool.UTF8Entry getDescriptorUTF8Entry()
-
getIndex
public int getIndex()
-
getName
public java.lang.String getName()
-
getNameIndex
public int getNameIndex()
-
getNameUTF8Entry
public ClassModel.ConstantPool.UTF8Entry getNameUTF8Entry()
-
getConstantPool
public ClassModel.ConstantPool getConstantPool()
-
getLineNumberTableEntry
public ClassModel.AttributePool.LineNumberTableEntry getLineNumberTableEntry()
-
getLocalVariableTableEntry
public ClassModel.LocalVariableTableEntry getLocalVariableTableEntry()
-
setLocalVariableTableEntry
void setLocalVariableTableEntry(ClassModel.LocalVariableTableEntry _localVariableTableEntry)
-
getLocalVariable
public ClassModel.LocalVariableInfo getLocalVariable(int _pc, int _index)
-
getCode
public byte[] getCode()
-
getClassModel
public ClassModel getClassModel()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getOwnerClassModel
public ClassModel getOwnerClassModel()
-
-