alt.jiapi.file.attribute
Class SyntheticAttribute

java.lang.Object
  extended by alt.jiapi.file.attribute.Attribute
      extended by alt.jiapi.file.attribute.SyntheticAttribute

public class SyntheticAttribute
extends Attribute

Synthetic attribute.

Author:
Mika Riekkinen
See Also:
4.8.8

Field Summary
static java.lang.String ATTRIBUTE_NAME
           
 
Fields inherited from class alt.jiapi.file.attribute.Attribute
cp
 
Constructor Summary
SyntheticAttribute(ConstantPool cp)
          Creates a new Syntehtic attribute.
SyntheticAttribute(short nameIndex, java.io.DataInputStream dis)
           
 
Method Summary
 
Methods inherited from class alt.jiapi.file.attribute.Attribute
getAttributeNameIndex, getBytes, getDataInputStream, getName, readAttribute, setConstantPool, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTRIBUTE_NAME

public static final java.lang.String ATTRIBUTE_NAME
See Also:
Constant Field Values
Constructor Detail

SyntheticAttribute

public SyntheticAttribute(ConstantPool cp)
Creates a new Syntehtic attribute. ConstantPool is added an utf8_info, with name 'Synthetic'

Parameters:
cp - a ConstantPool, that is related to this attribute

SyntheticAttribute

public SyntheticAttribute(short nameIndex,
                          java.io.DataInputStream dis)
                   throws java.io.IOException
Parameters:
nameIndex - an index in constant pool, that points to constant_utf8_info "Synthetic"
Throws:
java.io.IOException


Copyright © 2001. Documenation generated August 26 2011.