| java.lang.Object com.sun.codemodel.JExpressionImpl com.sun.codemodel.JInvocation
JInvocation | JInvocation(JExpression object, String name)(Code) | | Invokes a method on an object.
Parameters: object - JExpression for the object upon whichthe named method will be invoked,or null if none Parameters: name - Name of method to invoke |
JInvocation | JInvocation(JClass type, String name)(Code) | | Invokes a static method on a class.
|
JInvocation | JInvocation(JType c)(Code) | | Invokes a constructor of an object (i.e., creates
a new object.)
Parameters: c - Type of the object to be created. If this type isan array type, added arguments are treated as arrayinitializer. Thus you can create an expression likenew int[]{1,2,3,4,5} . |
arg | public JInvocation arg(JExpression arg)(Code) | | Add an expression to this invocation's argument list
Parameters: arg - Argument to add to argument list |
|
|