scale.jcr
Class ConstantValueAttribute

java.lang.Object
  extended by scale.jcr.AttributeInfo
      extended by scale.jcr.ConstantValueAttribute

public class ConstantValueAttribute
extends AttributeInfo

This class is used to both represent a Java class file constant value attribute structure and to read that class file constant value attribute structure.

$Id: ConstantValueAttribute.java,v 1.9 2007-10-04 19:58:15 burrill Exp $

Copyright 2007 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.


Constructor Summary
ConstantValueAttribute(int nameIndex, int constantValueIndex)
           
 
Method Summary
 int getConstantValueIndex()
           
static ConstantValueAttribute read(ClassFile cf, java.io.DataInputStream reader, int nameIndex)
           
 
Methods inherited from class scale.jcr.AttributeInfo
getNameIndex, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantValueAttribute

public ConstantValueAttribute(int nameIndex,
                              int constantValueIndex)
Method Detail

getConstantValueIndex

public int getConstantValueIndex()

read

public static ConstantValueAttribute read(ClassFile cf,
                                          java.io.DataInputStream reader,
                                          int nameIndex)
                                   throws java.io.IOException
Throws:
java.io.IOException