|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.transjvm.MemberID
net.sf.transjvm.ConstructorID
public class ConstructorID
This class is used for referencing constructors.
| Constructor Summary | |
|---|---|
ConstructorID(TypeID type)
Creates a ConstructorID with no parameters. |
|
ConstructorID(TypeID type,
TypeID... params)
Creates a ConstructorID with any number of parameters. |
|
ConstructorID(TypeID type,
TypeID param)
Creates a ConstructorID with one parameter. |
|
ConstructorID(TypeID type,
TypeID param0,
TypeID param1)
Creates a ConstructorID with two parameters. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
TypeID[] |
getParameters()
Returns the parameter types of this constructor Warning: This method is provided for verification purposes, not for code generation and is slow. |
int |
hashCode()
|
Expression |
newInstance()
Creates a new Object and invokes this constructor no arguments. |
Expression |
newInstance(Expression... arguments)
Creates a new Object and invokes this constructor with several arguments. |
| Methods inherited from class net.sf.transjvm.MemberID |
|---|
getOwningClass, getRef |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstructorID(TypeID type)
type - The class to be constructed
public ConstructorID(TypeID type,
TypeID param)
type - The class to be constructedparam - The parameter
public ConstructorID(TypeID type,
TypeID param0,
TypeID param1)
type - The class to be constructedparam0 - The first parameterparam1 - The second parameter
public ConstructorID(TypeID type,
TypeID... params)
type - Description of the Parameterparams - Parameters of this constructor.| Method Detail |
|---|
public TypeID[] getParameters()
public boolean equals(java.lang.Object o)
equals in class MemberIDpublic int hashCode()
hashCode in class MemberIDpublic Expression newInstance()
public Expression newInstance(Expression... arguments)
arguments - Arguments for the constructor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||