org.cojen.classfile.attribute
Class SyntheticAttr

java.lang.Object
  extended by org.cojen.classfile.Attribute
      extended by org.cojen.classfile.attribute.SyntheticAttr

public class SyntheticAttr
extends Attribute

This class corresponds to the Synthetic_attribute structure introduced in JDK1.1. It is not defined in the first edition of The Java Virual Machine Specification.

Author:
Brian S O'Neill

Field Summary
 
Fields inherited from class org.cojen.classfile.Attribute
CODE, CONSTANT_VALUE, DEPRECATED, ENCLOSING_METHOD, EXCEPTIONS, INNER_CLASSES, LINE_NUMBER_TABLE, LOCAL_VARIABLE_TABLE, RUNTIME_INVISIBLE_ANNOTATIONS, RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS, RUNTIME_VISIBLE_ANNOTATIONS, RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS, SIGNATURE, SOURCE_FILE, SYNTHETIC
 
Constructor Summary
SyntheticAttr(ConstantPool cp)
           
SyntheticAttr(ConstantPool cp, String name)
           
SyntheticAttr(ConstantPool cp, String name, int length, DataInput din)
           
 
Method Summary
 int getLength()
          Returns the length (in bytes) of this attribute in the class file.
 
Methods inherited from class org.cojen.classfile.Attribute
getAttributes, getConstantPool, getName, getNameConstant, readFrom, writeDataTo, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntheticAttr

public SyntheticAttr(ConstantPool cp)

SyntheticAttr

public SyntheticAttr(ConstantPool cp,
                     String name)

SyntheticAttr

public SyntheticAttr(ConstantPool cp,
                     String name,
                     int length,
                     DataInput din)
              throws IOException
Throws:
IOException
Method Detail

getLength

public int getLength()
Description copied from class: Attribute
Returns the length (in bytes) of this attribute in the class file.

Specified by:
getLength in class Attribute


Copyright © 2004-2011 Brian S O'Neill. All Rights Reserved.