org.apache.tools.ant.taskdefs.optional.sitraka.bytecode.attributes
Class Code

java.lang.Object
  |
  +--org.apache.tools.ant.taskdefs.optional.sitraka.bytecode.attributes.AttributeInfo
        |
        +--org.apache.tools.ant.taskdefs.optional.sitraka.bytecode.attributes.Code

public class Code
extends AttributeInfo

Code structure.

Author:
Stephane Bailliez

Inner Class Summary
static class Code.ExceptionInfo
           
 
Field Summary
protected  byte[] code
           
protected  Code.ExceptionInfo[] exceptions
           
protected  int length
           
protected  LineNumberTable lineNumberTable
           
protected  int max_locals
           
protected  int max_stack
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.optional.sitraka.bytecode.attributes.AttributeInfo
CODE, CONSTANT_VALUE, constantPool, DEPRECATED, EXCEPTIONS, INNER_CLASSES, LINE_NUMBER_TABLE, LOCAL_VARIABLE_TABLE, name_index, SOURCE_DIR, SOURCE_FILE, SYNTHETIC, UNKNOWN
 
Constructor Summary
Code(int attr_index, ConstantPool pool)
           
 
Method Summary
 byte[] getCode()
           
 Code.ExceptionInfo[] getExceptions()
           
 LineNumberTable getLineNumberTable()
           
 int getMaxLocals()
           
 int getMaxStack()
           
 void read(java.io.DataInputStream dis)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.sitraka.bytecode.attributes.AttributeInfo
getName, newAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

protected int length

max_stack

protected int max_stack

max_locals

protected int max_locals

code

protected byte[] code

exceptions

protected Code.ExceptionInfo[] exceptions

lineNumberTable

protected LineNumberTable lineNumberTable
Constructor Detail

Code

public Code(int attr_index,
            ConstantPool pool)
Method Detail

read

public void read(java.io.DataInputStream dis)
          throws java.io.IOException
Overrides:
read in class AttributeInfo
Following copied from class: org.apache.tools.ant.taskdefs.optional.sitraka.bytecode.attributes.AttributeInfo
Parameters:
dis -  
Throws:
java.io.IOException -  

getMaxStack

public int getMaxStack()

getMaxLocals

public int getMaxLocals()

getCode

public byte[] getCode()

getExceptions

public Code.ExceptionInfo[] getExceptions()

getLineNumberTable

public LineNumberTable getLineNumberTable()


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.