Package | Description |
---|---|
org.jboss.errai.codegen | |
org.jboss.errai.codegen.builder.callstack | |
org.jboss.errai.codegen.builder.impl | |
org.jboss.errai.codegen.control |
Modifier and Type | Method and Description |
---|---|
static Variable |
Variable.create(String name,
Class<?> type)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.create(String name,
Class<?> type,
Object initialization)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.create(String name,
MetaClass type)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.create(String name,
MetaClass type,
Object initialization)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.create(String name,
Object initialization)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.create(String name,
javax.enterprise.util.TypeLiteral<?> type)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.create(String name,
javax.enterprise.util.TypeLiteral<?> type,
Object initialization)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.createFinal(String name,
Class<?> type)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.createFinal(String name,
Class<?> type,
Object initialization)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.createFinal(String name,
MetaClass type)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.createFinal(String name,
MetaClass type,
Object initialization)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.createFinal(String name,
javax.enterprise.util.TypeLiteral<?> type)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.createFinal(String name,
javax.enterprise.util.TypeLiteral<?> type,
Object initialization)
Creates a variable, but does not assign it to a scope.
|
static Variable |
Variable.from(VariableReference ref) |
Modifier and Type | Method and Description |
---|---|
Collection<Variable> |
Context.getDeclaredVariables()
Returns all variables in this scope (does not include variables of parent scopes).
|
Map<String,Variable> |
Context.getVariables()
Returns all variables in this scope (does not include variables of parent scopes).
|
Modifier and Type | Method and Description |
---|---|
Context |
Context.addVariable(Variable variable)
Add a
Variable to the current scope. |
boolean |
Context.isScoped(Variable variable)
Checks is the given
Variable is in scope. |
Constructor and Description |
---|
DeclareVariable(Variable variable) |
Modifier and Type | Method and Description |
---|---|
ContextBuilder |
ContextBuilder.addVariable(Variable variable) |
VariableDeclarationInitializer<ContextBuilder> |
ContextBuilder.declareVariable(Variable var) |
Modifier and Type | Method and Description |
---|---|
void |
TryBlock.addCatchBlock(Variable exception) |
BlockStatement |
TryBlock.getCatchBlock(Variable exceptionVar) |
Constructor and Description |
---|
ForeachLoop(Variable loopVar,
String collectionExpr,
Statement body) |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.