dioscuri.module.cpu32
Class MethodInfo
java.lang.Object
dioscuri.module.cpu32.MethodInfo
public class MethodInfo
- extends java.lang.Object
- Author:
- Bram Lohman, Bart Kiers
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PUBLIC
public static final int PUBLIC
- See Also:
- Constant Field Values
PRIVATE
public static final int PRIVATE
- See Also:
- Constant Field Values
PROTECTED
public static final int PROTECTED
- See Also:
- Constant Field Values
STATIC
public static final int STATIC
- See Also:
- Constant Field Values
FINAL
public static final int FINAL
- See Also:
- Constant Field Values
SYNCHRONIZED
public static final int SYNCHRONIZED
- See Also:
- Constant Field Values
BRIDGE
public static final int BRIDGE
- See Also:
- Constant Field Values
VARARGS
public static final int VARARGS
- See Also:
- Constant Field Values
NATIVE
public static final int NATIVE
- See Also:
- Constant Field Values
ABSTRACT
public static final int ABSTRACT
- See Also:
- Constant Field Values
STRICT
public static final int STRICT
- See Also:
- Constant Field Values
SYTHETIC
public static final int SYTHETIC
- See Also:
- Constant Field Values
MethodInfo
public MethodInfo(java.io.DataInputStream in,
ConstantPoolInfo[] pool)
throws java.io.IOException
- Parameters:
in
- pool
-
- Throws:
java.io.IOException
write
public void write(java.io.DataOutputStream out)
throws java.io.IOException
- Parameters:
out
-
- Throws:
java.io.IOException
getNameIndex
public int getNameIndex()
- Returns:
- -
getDescriptorIndex
public int getDescriptorIndex()
- Returns:
- -
getMaxStack
public int getMaxStack()
- Returns:
- -
getMaxLocals
public int getMaxLocals()
- Returns:
- -
getCode
public int[] getCode()
- Returns:
- -
setCode
public void setCode(int[] code,
ClassFile cf)
- Parameters:
code
- cf
-
setCode
public void setCode(int[] code,
int codeLength,
ClassFile cf)
- Parameters:
code
- codeLength
- cf
-
getExceptionTable
public AttributeInfo.CodeAttribute.ExceptionEntry[] getExceptionTable()
- Returns:
- -
setExceptionTable
public void setExceptionTable(AttributeInfo.CodeAttribute.ExceptionEntry[] exceptionTable,
ClassFile cf)
- Parameters:
exceptionTable
- cf
-
setExceptionTable
public void setExceptionTable(AttributeInfo.CodeAttribute.ExceptionEntry[] exceptionTable,
int exceptionTableLength,
ClassFile cf)
- Parameters:
exceptionTable
- exceptionTableLength
- cf
-