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

java.lang.Object
  |
  +--org.apache.tools.ant.taskdefs.optional.sitraka.bytecode.attributes.AttributeInfo
Direct Known Subclasses:
Code, ConstantValue, Deprecated, Exceptions, InnerClasses, LineNumberTable, LocalVariableTable, SourceDir, SourceFile, Synthetic, Unknown

public abstract class AttributeInfo
extends java.lang.Object

Attribute info structure that provides base methods

Author:
Stephane Bailliez

Field Summary
static java.lang.String CODE
           
static java.lang.String CONSTANT_VALUE
           
protected  ConstantPool constantPool
           
static java.lang.String DEPRECATED
           
static java.lang.String EXCEPTIONS
           
static java.lang.String INNER_CLASSES
           
static java.lang.String LINE_NUMBER_TABLE
           
static java.lang.String LOCAL_VARIABLE_TABLE
           
protected  int name_index
           
static java.lang.String SOURCE_DIR
           
static java.lang.String SOURCE_FILE
           
static java.lang.String SYNTHETIC
           
static java.lang.String UNKNOWN
           
 
Constructor Summary
protected AttributeInfo(int attr_index, ConstantPool pool)
           
 
Method Summary
 java.lang.String getName()
           
static AttributeInfo newAttribute(int attr_index, java.io.DataInputStream dis, ConstantPool pool)
           
protected  void read(java.io.DataInputStream dis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCE_FILE

public static final java.lang.String SOURCE_FILE

CONSTANT_VALUE

public static final java.lang.String CONSTANT_VALUE

CODE

public static final java.lang.String CODE

EXCEPTIONS

public static final java.lang.String EXCEPTIONS

LINE_NUMBER_TABLE

public static final java.lang.String LINE_NUMBER_TABLE

LOCAL_VARIABLE_TABLE

public static final java.lang.String LOCAL_VARIABLE_TABLE

INNER_CLASSES

public static final java.lang.String INNER_CLASSES

SOURCE_DIR

public static final java.lang.String SOURCE_DIR

SYNTHETIC

public static final java.lang.String SYNTHETIC

DEPRECATED

public static final java.lang.String DEPRECATED

UNKNOWN

public static final java.lang.String UNKNOWN

name_index

protected int name_index

constantPool

protected ConstantPool constantPool
Constructor Detail

AttributeInfo

protected AttributeInfo(int attr_index,
                        ConstantPool pool)
Method Detail

read

protected void read(java.io.DataInputStream dis)
             throws java.io.IOException
Parameters:
dis -  
Throws:
java.io.IOException -  

getName

public java.lang.String getName()

newAttribute

public static AttributeInfo newAttribute(int attr_index,
                                         java.io.DataInputStream dis,
                                         ConstantPool pool)
                                  throws java.io.IOException
Parameters:
attr_index -  
dis -  
pool -  


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