org.netbeans.modules.classfile/1 1.35

org.netbeans.modules.classfile
Class Code

java.lang.Object
  extended by org.netbeans.modules.classfile.Code

public final class Code
extends Object

The Code attribute of a method.


Method Summary
 byte[] getByteCodes()
           
 ExceptionTableEntry[] getExceptionTable()
           
 int[] getLineNumberTable()
          Returns an array of int pairs consisting of a start_pc and a line_number.
 LocalVariableTableEntry[] getLocalVariableTable()
          Returns the local variable table for this code.
 LocalVariableTypeTableEntry[] getLocalVariableTypeTable()
          Returns the local variable type table for this code, which describes the generic reference type for those variables which are generic.
 int getMaxLocals()
           
 int getMaxStack()
           
 StackMapFrame[] getStackMapTable()
          Returns the stack map table for this code, which defines the stack frame information needed by the new classfile verifier in Java 6.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMaxStack

public final int getMaxStack()

getMaxLocals

public final int getMaxLocals()

getByteCodes

public final byte[] getByteCodes()

getExceptionTable

public final ExceptionTableEntry[] getExceptionTable()

getLineNumberTable

public final int[] getLineNumberTable()
Returns an array of int pairs consisting of a start_pc and a line_number. For example, [0] = first pc, [1] = first line, [2] = second pc, etc.


getLocalVariableTable

public final LocalVariableTableEntry[] getLocalVariableTable()
Returns the local variable table for this code.


getLocalVariableTypeTable

public final LocalVariableTypeTableEntry[] getLocalVariableTypeTable()
Returns the local variable type table for this code, which describes the generic reference type for those variables which are generic.


getStackMapTable

public final StackMapFrame[] getStackMapTable()
Returns the stack map table for this code, which defines the stack frame information needed by the new classfile verifier in Java 6.


toString

public String toString()
Overrides:
toString in class Object

org.netbeans.modules.classfile/1 1.35

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.