Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
Modifier and Type | Method and Description |
---|---|
static JInvocation |
JExpr._new(JClass c) |
static JInvocation |
JExpr._new(JType t) |
JInvocation |
JInvocation.arg(JExpression arg)
Add an expression to this invocation's argument list
|
JInvocation |
JInvocation.arg(java.lang.String v)
Adds a literal argument.
|
static JInvocation |
JExpr.invoke(JExpression lhs,
JMethod method) |
JInvocation |
JBlock.invoke(JExpression expr,
JMethod method)
Creates an invocation statement and adds it to this block.
|
static JInvocation |
JExpr.invoke(JExpression lhs,
java.lang.String method) |
JInvocation |
JBlock.invoke(JExpression expr,
java.lang.String method)
Creates an invocation statement and adds it to this block.
|
static JInvocation |
JExpr.invoke(JMethod method) |
JInvocation |
JExpression.invoke(JMethod method)
Returns "[this].[method]".
|
JInvocation |
JExpressionImpl.invoke(JMethod method) |
JInvocation |
JBlock.invoke(JMethod method)
Creates an invocation statement and adds it to this block.
|
static JInvocation |
JExpr.invoke(java.lang.String method) |
JInvocation |
JExpression.invoke(java.lang.String method)
Returns "[this].[method]".
|
JInvocation |
JExpressionImpl.invoke(java.lang.String method) |
JInvocation |
JBlock.invoke(java.lang.String method)
Creates an invocation statement and adds it to this block.
|
JInvocation |
JBlock.staticInvoke(JClass type,
java.lang.String method)
Creates a static invocation statement.
|
JInvocation |
JClass.staticInvoke(JMethod method)
Generates a static method invocation.
|
JInvocation |
JClass.staticInvoke(java.lang.String method)
Generates a static method invocation.
|
Copyright © 2005-2014 Sun Microsystems. All Rights Reserved.