|
||||||||||
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.ConstantMethodref
public class ConstantMethodref
A ConstantMethodref
(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 | |
---|---|
ConstantMethodref(Constant[] constantPool,
DataInput inputStream)
constructs a new ConstantMethodref |
|
ConstantMethodref(Constant[] constantPool,
int classIndex,
int nameAndTypeIndex)
constructs a new ConstantMethodref |
Method Summary | |
---|---|
int |
getClassIndex()
returns the classindex |
ConstantClass |
getConstantClass()
returns the constantClass of this constant |
ConstantNameAndType |
getConstantNameAndType()
returns the nameAndType constant |
int |
getNameAndTypeIndex()
returns the nameAndTypeIndex |
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 ConstantMethodref(Constant[] constantPool, DataInput inputStream) throws IOException
constantPool
- the constantPool it is part ofinputStream
- the inputstream to read from
IOException
- on failurepublic ConstantMethodref(Constant[] constantPool, int classIndex, int nameAndTypeIndex)
constantPool
- the constantPool it is part ofclassIndex
- the classIndexnameAndTypeIndex
- the NameAndTypeIndexMethod Detail |
---|
public int getTag()
Constant
getTag
in class Constant
Constant.getTag()
public int getClassIndex()
public int getNameAndTypeIndex()
public ConstantClass getConstantClass()
public ConstantNameAndType getConstantNameAndType()
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 |