| 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(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,
      String method)  | 
JInvocation | 
JBlock.invoke(JExpression expr,
      String method)
Creates an invocation statement and adds it to this block. 
 | 
JInvocation | 
JExpressionImpl.invoke(JMethod method)  | 
JInvocation | 
JExpression.invoke(JMethod method)
Returns "[this].[method]". 
 | 
static JInvocation | 
JExpr.invoke(JMethod method)  | 
JInvocation | 
JBlock.invoke(JMethod method)
Creates an invocation statement and adds it to this block. 
 | 
JInvocation | 
JExpressionImpl.invoke(String method)  | 
JInvocation | 
JExpression.invoke(String method)
Returns "[this].[method]". 
 | 
static JInvocation | 
JExpr.invoke(String method)  | 
JInvocation | 
JBlock.invoke(String method)
Creates an invocation statement and adds it to this block. 
 | 
JInvocation | 
JBlock.staticInvoke(JClass type,
            String method)
Creates a static invocation statement. 
 | 
JInvocation | 
JClass.staticInvoke(JMethod method)
Generates a static method invocation. 
 | 
JInvocation | 
JClass.staticInvoke(String method)
Generates a static method invocation. 
 | 
Copyright © 2017 JBoss by Red Hat. All rights reserved.