bsh
Class ClassGeneratorUtil.ConstructorArgs
java.lang.Object
bsh.ClassGeneratorUtil.ConstructorArgs
- Enclosing class:
- ClassGeneratorUtil
- public static class ClassGeneratorUtil.ConstructorArgs
- extends java.lang.Object
A ConstructorArgs object holds evaluated arguments for a constructor
call as well as the index of a possible alternate selector to invoke.
This object is used by the constructor switch.
- See Also:
ClassGeneratorUtil.generateConstructor( int , String [] , int , ClassWriter )
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static ClassGeneratorUtil.ConstructorArgs DEFAULT
- A ConstructorArgs which calls the default constructor
selector
public int selector
args
java.lang.Object[] args
arg
int arg
ClassGeneratorUtil.ConstructorArgs
ClassGeneratorUtil.ConstructorArgs()
- The index of the constructor to call.
ClassGeneratorUtil.ConstructorArgs
ClassGeneratorUtil.ConstructorArgs(int selector,
java.lang.Object[] args)
next
java.lang.Object next()
getBoolean
public boolean getBoolean()
getByte
public byte getByte()
getChar
public char getChar()
getShort
public short getShort()
getInt
public int getInt()
getLong
public long getLong()
getDouble
public double getDouble()
getFloat
public float getFloat()
getObject
public java.lang.Object getObject()