|
||||||||||
| 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.ConstantNameAndType
public class ConstantNameAndType
A ConstantNameAndType
(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 | |
|---|---|
ConstantNameAndType(Constant[] constantPool,
DataInput inputStream)
constructs a new ConstantNameAndType |
|
ConstantNameAndType(Constant[] constantPool,
int nameIndex,
int descriptorIndex)
constructs a new ConstantNameAndType |
|
| Method Summary | |
|---|---|
String |
getDescriptor()
returns the type of this constant |
int |
getDescriptorIndex()
returns the descriptorIndex |
String |
getName()
returns the name of this constant |
int |
getNameIndex()
returns the nameindex |
int |
getTag()
returns the tag of the 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 ConstantNameAndType(Constant[] constantPool,
DataInput inputStream)
throws IOException
constantPool - the constantPool it is part ofinputStream - the inputstream to read from
IOException - on failure
public ConstantNameAndType(Constant[] constantPool,
int nameIndex,
int descriptorIndex)
constantPool - the constantPool it is part ofnameIndex - the nameIndexdescriptorIndex - descriptorIndex| Method Detail |
|---|
public int getTag()
Constant
getTag in class ConstantConstant.getTag()public int getNameIndex()
public int getDescriptorIndex()
public String getName()
public String getDescriptor()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||