|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.tudelft.simulation.dsol.interpreter.classfile.MethodDescriptor
public class MethodDescriptor
A MethodDescriptor
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
| Constructor Summary | |
|---|---|
MethodDescriptor(DataInput dataInput,
Constant[] constantPool)
constructs a new MethodDescriptor |
|
| Method Summary | |
|---|---|
int |
getBytePosition(int operationIndex)
returns the bytePosition of the operation. |
ExceptionEntry[] |
getExceptionTable()
returns the exception table of the method |
LineNumber[] |
getLineNumberTable()
returns the linenumber table of the method |
LocalVariableDescriptor[] |
getLocalVariableTable()
returns the localvariable descriptors |
int |
getMaxStack()
returns the maximum stack size of this method |
AccessibleObject |
getMethod()
|
MethodSignature |
getMethodSignature()
|
String |
getName()
returns the name of the method |
Operation |
getOperation(int bytePosition)
returns the operation at bytePosition |
int |
getOperationIndex(int bytePosition)
returns the index number of the operation in the operationtable of the operation starting at bytePosition |
Operation[] |
getOperations()
returns the operations of the method. |
void |
setMethod(AccessibleObject method)
sets the method of this descriptor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodDescriptor(DataInput dataInput,
Constant[] constantPool)
throws IOException
dataInput - the dataInputconstantPool - the constantPool
IOException - on ioException| Method Detail |
|---|
public int getBytePosition(int operationIndex)
operationIndex - the n-th operation
public ExceptionEntry[] getExceptionTable()
public LineNumber[] getLineNumberTable()
public LocalVariableDescriptor[] getLocalVariableTable()
public int getMaxStack()
public AccessibleObject getMethod()
public MethodSignature getMethodSignature()
public String getName()
public Operation[] getOperations()
public int getOperationIndex(int bytePosition)
bytePosition - the bytePosition
public Operation getOperation(int bytePosition)
bytePosition - the position to start
public void setMethod(AccessibleObject method)
method - the method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||