|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.dsol.interpreter.classfile.Constant
nl.tudelft.simulation.dsol.interpreter.classfile.ConstantClass
public class ConstantClass
A ConstantClass
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Field Summary |
---|
Fields inherited from class nl.tudelft.simulation.dsol.interpreter.classfile.Constant |
---|
constantPool |
Constructor Summary | |
---|---|
ConstantClass(Constant[] constantPool,
DataInput dataInput)
constructs a new ConstantClass |
|
ConstantClass(Constant[] constantPool,
int nameIndex)
constructs a new ClassConstant |
Method Summary | |
---|---|
int |
getNameIndex()
returns the name index |
int |
getTag()
returns the tag of the constant |
FieldSignature |
getValue()
returns the className of this constant |
String |
toString()
|
Methods inherited from class nl.tudelft.simulation.dsol.interpreter.classfile.Constant |
---|
readConstant, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConstantClass(Constant[] constantPool, DataInput dataInput) throws IOException
dataInput
- the inputstream to read fromconstantPool
- the constantPool it is part of
IOException
- on failurepublic ConstantClass(Constant[] constantPool, int nameIndex)
nameIndex
- the nameIndexconstantPool
- the constantPool it is part ofMethod Detail |
---|
public int getTag()
Constant
getTag
in class Constant
Constant.getTag()
public int getNameIndex()
public FieldSignature getValue()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |