Modifier and Type | Interface and Description |
---|---|
interface |
ArithmeticExpression
Represents an arithmetic expression.
|
interface |
BooleanExpression
Represents a boolean expression.
|
interface |
Expression<T extends Operator>
Represents an expression.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStatement |
class |
BlockStatement
Represents a code block (e.g.
|
class |
CallParameters |
class |
Cast
Implements code generation of type casting statements.
|
class |
Comment |
class |
DefParameters |
class |
MethodInvocation
Represents a method invocation statement.
|
class |
Parameter |
static class |
ProxyMaker.ProxyProperty |
class |
StringStatement |
class |
TernaryStatement |
class |
ThrowsDeclaration |
class |
Variable
This class represents a variable.
|
class |
VariableReference
|
Modifier and Type | Field and Description |
---|---|
protected Statement[] |
VariableReference.indexes |
Modifier and Type | Method and Description |
---|---|
static Statement |
ProxyMaker.closeProxy(Statement proxyReference,
Statement beanInstance) |
static Statement |
AnnotationEncoder.encode(Annotation annotation) |
Statement |
SnapshotMaker.MethodBodyCallback.generateMethodBody(MetaMethod method,
Object o,
ClassStructureBuilder<?> containingClass)
Optionally returns the statement that should be used as the body of the
given method for the given object's snapshot.
|
Statement[] |
VariableReference.getIndexes() |
Statement |
Expression.getLhs() |
Statement |
ProxyMaker.ProxyProperty.getOriginalValueReference() |
Statement |
ProxyMaker.ProxyProperty.getProxiedValueReference() |
Statement |
Expression.getRhs() |
abstract Statement |
VariableReference.getValue() |
Statement |
Variable.getValue() |
Statement |
InterningCallback.intern(LiteralValue<?> literalValue)
Intern the supplied
LiteralValue . |
Statement |
Context.intern(LiteralValue<?> literalValue) |
static Statement |
SnapshotMaker.makeSnapshotAsSubclass(Object o,
Class<?> typeToSnapshot,
Class<?> typeToExtend,
SnapshotMaker.MethodBodyCallback methodBodyCallback,
Class<?>... typesToRecurseOn)
Code-generates an object whose methods return (snapshots of) the same
values as the given object.
|
static Statement |
SnapshotMaker.makeSnapshotAsSubclass(Object o,
MetaClass typeToSnapshot,
MetaClass typeToExtend,
SnapshotMaker.MethodBodyCallback methodBodyCallback,
MetaClass... typesToRecurseOn)
Code-generates an object whose methods return (snapshots of) the same
values as the given object.
|
static Statement |
Cast.to(Class<?> cls,
Statement stmt) |
Modifier and Type | Method and Description |
---|---|
static Collection<Statement> |
ProxyMaker.createAllPropertyBindings(Statement proxyRef,
Map<String,ProxyMaker.ProxyProperty> proxyProperties) |
Collection<Statement> |
ProxyMaker.getAfterStatements(MetaMethod method) |
Collection<Statement> |
ProxyMaker.getAroundInvokeStatements(MetaMethod method) |
Collection<Statement> |
ProxyMaker.getBeforeStatements(MetaMethod method) |
List<Statement> |
CallParameters.getParameters() |
List<Statement> |
BlockStatement.getStatements()
Returns a mutable representation of the statements in this block.
|
Modifier and Type | Method and Description |
---|---|
BlockStatement |
BlockStatement.addStatement(Statement statement) |
static Statement |
ProxyMaker.closeProxy(Statement proxyReference,
Statement beanInstance) |
static Collection<Statement> |
ProxyMaker.createAllPropertyBindings(Statement proxyRef,
Map<String,ProxyMaker.ProxyProperty> proxyProperties) |
static CallParameters |
CallParameters.fromStatements(Statement... statements) |
void |
BlockStatement.insertBefore(Statement statement) |
abstract String |
OperationOrder.render(UnaryOperator operator,
Statement value,
Context context) |
void |
VariableReference.setIndexes(Statement[] indexes) |
void |
Expression.setLhs(Statement lhs) |
void |
Expression.setRhs(Statement rhs) |
static Statement |
Cast.to(Class<?> cls,
Statement stmt) |
static Cast |
Cast.to(MetaClass cls,
Statement stmt) |
Modifier and Type | Method and Description |
---|---|
BlockStatement |
BlockStatement.addAllStatements(Collection<Statement> stmts) |
static BuildMetaClass |
ProxyMaker.makeProxy(MetaClass toProxy,
String privateAccessorType,
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> weavingStatements) |
static BuildMetaClass |
ProxyMaker.makeProxy(MetaClass toProxy,
String privateAccessorType,
Map<String,ProxyMaker.ProxyProperty> proxyProperties,
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> weavingStatements) |
static BuildMetaClass |
ProxyMaker.makeProxy(String proxyClassName,
MetaClass toProxy,
String privateAccessorType,
Map<String,ProxyMaker.ProxyProperty> proxyProperties,
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> weavingStatements) |
Constructor and Description |
---|
BlockStatement(Statement... statements) |
ProxyMaker.ProxyProperty(String propertyName,
MetaClass type,
Statement valueReference) |
TernaryStatement(BooleanExpression condition,
Statement trueStatement,
Statement falseStatement) |
Constructor and Description |
---|
CallParameters(List<Statement> parameters) |
Modifier and Type | Interface and Description |
---|---|
interface |
ArrayBuilder |
interface |
ArrayInitializationBuilder |
interface |
CaseBlockBuilder |
interface |
CatchBlockBuilder |
interface |
ContextualIfBlockBuilder |
interface |
ContextualLoopBuilder |
interface |
ContextualStatementBuilder |
interface |
ContextualSwitchBlockBuilder |
interface |
ElseBlockBuilder |
interface |
IfBlockBuilder |
interface |
LoopBodyBuilder |
interface |
LoopBuilder |
interface |
StatementBegin |
interface |
StatementEnd |
interface |
SwitchBlockBuilder |
interface |
TryBlockBuilder |
interface |
VariableReferenceContextualStatementBuilder |
Modifier and Type | Method and Description |
---|---|
Statement |
StatementBegin.codeComment(String comment) |
Statement |
StatementBegin.newObject(Class<?> type,
Object... parameters) |
Statement |
StatementBegin.newObject(MetaClass type,
Object... parameters) |
Statement |
StatementBegin.newObject(javax.enterprise.util.TypeLiteral<?> type,
Object... parameters) |
Statement |
BlockBuilder.peek()
Show the last statement in the block.
|
Statement |
ContextualStatementBuilder.returnValue() |
Modifier and Type | Method and Description |
---|---|
List<Statement> |
BlockBuilder.splitFrom(Statement statement)
Return a list of statements from the specified statement (inclusive), and remove all of the returned statements
from the underlying builder.
|
Modifier and Type | Method and Description |
---|---|
BlockBuilder<T> |
BlockBuilder._(Statement stmt)
|
BlockBuilder<T> |
BlockBuilder.append(Statement stmt) |
T |
BuildCallback.callback(Statement statement) |
ContextualStatementBuilder |
StatementBegin.castTo(Class<?> type,
Statement statement) |
ContextualStatementBuilder |
StatementBegin.castTo(MetaClass type,
Statement statement) |
BlockBuilder<ElseBlockBuilder> |
ElseBlockBuilder.elseif_(Statement lhs) |
BlockBuilder<ElseBlockBuilder> |
ElseBlockBuilder.elseif_(Statement lhs,
BooleanOperator op,
Object rhs) |
BlockBuilder<ElseBlockBuilder> |
ElseBlockBuilder.elseif_(Statement lhs,
BooleanOperator op,
Statement rhs) |
LoopBodyBuilder |
LoopBodyBuilder.execute(Statement statement) |
BlockBuilder<StatementEnd> |
LoopBuilder.for_(Statement initializer,
BooleanExpression condition) |
BlockBuilder<StatementEnd> |
ContextualLoopBuilder.for_(Statement initializer,
BooleanExpression condition) |
BlockBuilder<StatementEnd> |
LoopBuilder.for_(Statement initializer,
BooleanExpression condition,
Statement countingExpression) |
BlockBuilder<StatementEnd> |
ContextualLoopBuilder.for_(Statement initializer,
BooleanExpression condition,
Statement countingExpression) |
BlockBuilder<ElseBlockBuilder> |
ContextualIfBlockBuilder.if_(BooleanOperator op,
Statement rhs) |
Finishable<T> |
FieldBuildInitializer.initializesWith(Statement statement) |
T |
VariableDeclarationInitializer.initializeWith(Statement initialization) |
void |
BlockBuilder.insertBefore(Statement stmt) |
ContextualStatementBuilder |
StatementBegin.nestedCall(Statement statement) |
List<Statement> |
BlockBuilder.splitFrom(Statement statement)
Return a list of statements from the specified statement (inclusive), and remove all of the returned statements
from the underlying builder.
|
CaseBlockBuilder |
SwitchBlockBuilder.switch_(Statement statement) |
StatementEnd |
WhileBuilder.while_(BooleanOperator op,
Statement rhs) |
BlockBuilder<StatementEnd> |
ContextualLoopBuilder.while_(BooleanOperator op,
Statement rhs) |
Modifier and Type | Method and Description |
---|---|
BlockBuilder<T> |
BlockBuilder.appendAll(Collection<Statement> stmt) |
Modifier and Type | Class and Description |
---|---|
static class |
LoadClassReference.ClassReference |
Modifier and Type | Method and Description |
---|---|
void |
DeferredCallback.doDeferred(CallWriter writer,
Context context,
Statement statement) |
void |
ThrowException.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
ReturnValue.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
ResetCallElement.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
MethodCall.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
LoadVariable.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
LoadNested.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
LoadLiteral.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
LoadField.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
LoadClassReference.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
DynamicLoad.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
DefineLabel.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
DeferredCallElement.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
DeclareVariable.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
ConditionalBlockCallElement.handleCall(CallWriter writer,
Context context,
Statement lhs) |
void |
CallElement.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
BranchCallElement.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
AssignVariable.handleCall(CallWriter writer,
Context context,
Statement statement) |
void |
AbstractCallElement.nextOrReturn(CallWriter writer,
Context ctx,
Statement statement) |
Constructor and Description |
---|
LoadNested(Statement statement) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractStatementBuilder
Base class of all
StatementBuilder s |
class |
ArithmeticExpressionBuilder |
class |
ArrayBuilderImpl
StatementBuilder to create and initialize Arrays.
|
class |
AssignmentBuilder
StatementBuilder that generates VariableReference assignments. |
class |
BitwiseExpressionBuilder |
class |
BooleanExpressionBuilder |
class |
ContextualStatementBuilderImpl
Implementation of the
ContextualStatementBuilder . |
class |
DeclareAssignmentBuilder |
class |
ExpressionBuilder<T extends Operator> |
class |
IfBlockBuilderImpl
StatementBuilder to generate if blocks.
|
class |
LoopBuilderImpl
StatementBuilder to generate loops.
|
class |
ObjectBuilder |
class |
StatementBuilder
The root of our fluent StatementBuilder API.
|
class |
SwitchBlockBuilderImpl
StatementBuilder to generate switch blocks.
|
class |
TryBlockBuilderImpl
StatementBuilder to generate try/catch/finally blocks.
|
Modifier and Type | Field and Description |
---|---|
protected Statement |
ExpressionBuilder.lhs |
protected Statement |
ExpressionBuilder.rhs |
protected Statement |
AssignmentBuilder.statement |
Modifier and Type | Method and Description |
---|---|
Statement |
StatementBuilder.codeComment(String comment) |
Statement |
ExpressionBuilder.getLhs() |
Statement |
ExpressionBuilder.getRhs() |
Statement |
StatementBuilder.newObject(Class<?> type,
Object... parameters) |
Statement |
StatementBuilder.newObject(MetaClass type,
Object... parameters) |
Statement |
StatementBuilder.newObject(javax.enterprise.util.TypeLiteral<?> type,
Object... parameters) |
Statement |
BlockBuilderImpl.peek() |
Modifier and Type | Method and Description |
---|---|
Iterator<Statement> |
BlockBuilderImpl.iterator() |
List<Statement> |
BlockBuilderImpl.splitFrom(Statement statement) |
Modifier and Type | Method and Description |
---|---|
BlockBuilder<T> |
BlockBuilderImpl.appendAll(Collection<Statement> stmt) |
Constructor and Description |
---|
ArithmeticExpressionBuilder(Statement rhs,
ArithmeticOperator operator) |
ArithmeticExpressionBuilder(Statement lhs,
Statement rhs,
ArithmeticOperator operator) |
AssignmentBuilder(boolean isFinal,
AssignmentOperator operator,
VariableReference reference,
Statement statement) |
BitwiseExpressionBuilder(Statement lhs,
Statement rhs,
BitwiseOperator operator) |
BooleanExpressionBuilder(Statement rhs,
BooleanOperator operator) |
BooleanExpressionBuilder(Statement lhs,
Statement rhs,
BooleanOperator operator) |
DeclareAssignmentBuilder(boolean isFinal,
VariableReference reference,
Statement statement) |
ExpressionBuilder(Statement lhs,
Statement rhs,
T operator) |
ExpressionBuilder(Statement rhs,
T operator) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConditionalBlock |
class |
DoWhileLoop |
class |
ForeachLoop
Foreach statement (enhanced for loop).
|
class |
ForLoop |
class |
IfBlock |
class |
SwitchBlock |
class |
TryBlock |
class |
WhileLoop |
Modifier and Type | Method and Description |
---|---|
void |
SwitchBlock.setSwitchExpr(Statement switchExprStmt) |
Constructor and Description |
---|
ForeachLoop(Variable loopVar,
String collectionExpr,
Statement body) |
ForLoop(BooleanExpression condition,
BlockStatement block,
Statement initializer,
Statement afterBlock) |
SwitchBlock(Statement switchExprStmt) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBranchStatement |
class |
BreakStatement |
class |
ContinueStatement |
class |
Label |
class |
LabelReference |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationLiteral |
class |
ArrayLiteral
Renders an array back to it's canonical Java-based literal representation, assuming the contents
of the array can be represented as such.
|
class |
BooleanValue |
class |
ByteValue |
class |
CharValue |
class |
ClassLiteral |
class |
DoubleValue |
class |
FloatValue |
class |
IntValue |
class |
ListValue |
class |
LiteralValue<T> |
class |
LongValue |
class |
MapValue |
class |
MetaClassLiteral |
class |
NullLiteral |
class |
SetValue |
class |
ShortValue |
class |
StringLiteral |
Modifier and Type | Method and Description |
---|---|
static Statement |
MetaClassFactory.getAsStatement(Class<?> clazz) |
static Statement |
MetaClassFactory.getAsStatement(MetaClass metaClass) |
Modifier and Type | Method and Description |
---|---|
Statement |
BuildMetaConstructor.getBody() |
Modifier and Type | Method and Description |
---|---|
void |
BuildMetaConstructor.setBody(Statement body) |
void |
BuildMetaField.setStatement(Statement statement) |
Constructor and Description |
---|
BuildMetaConstructor(BuildMetaClass declaringClass,
Statement body) |
BuildMetaConstructor(BuildMetaClass declaringClass,
Statement body,
DefParameters defParameters) |
BuildMetaConstructor(BuildMetaClass declaringClass,
Statement body,
Scope scope,
DefParameters defParameters) |
BuildMetaField(BuildMetaClass declaringClass,
Statement statement,
Scope scope,
MetaClass type,
String name) |
ShadowBuildMetaField(BuildMetaClass declaringClass,
Statement statement,
Scope scope,
MetaClass type,
String name,
MetaField shadow) |
Modifier and Type | Interface and Description |
---|---|
static interface |
Implementations.StringBuilderBuilder |
Modifier and Type | Class and Description |
---|---|
class |
EmptyStatement
An empty statement.
|
Modifier and Type | Field and Description |
---|---|
static Statement |
EmptyStatement.INSTANCE
Sharable empty statement instance.
|
Modifier and Type | Method and Description |
---|---|
static Statement |
Stmt.codeComment(String comment) |
static Statement |
GenUtil.convert(Context context,
Object input,
MetaClass targetType) |
static Statement |
GenUtil.generate(Context context,
Object o) |
static Statement[] |
GenUtil.generateCallParameters(Context context,
Object... parameters) |
static Statement[] |
GenUtil.generateCallParameters(MetaMethod method,
Context context,
Object... parameters) |
static Statement |
ProxyUtil.generateProxyMethodReturnStatement(MetaMethod method)
Generates a valid return statement for the provided method.
|
static Statement |
Stmt.newObject(Class<?> type,
Object... parms) |
static Statement |
Stmt.newObject(MetaClass type,
Object... parms) |
static Statement |
Stmt.newObject(javax.enterprise.util.TypeLiteral<?> type,
Object... parms) |
static Statement |
Expr.qualify(Statement statement) |
Modifier and Type | Method and Description |
---|---|
Statement |
DataBindingUtil.DataBinderRef.getValueAccessor() |
Modifier and Type | Method and Description |
---|---|
List<? extends Statement> |
BoundDecorator.generateDecorator(InjectableInstance<Bound> ctx) |
List<? extends Statement> |
ModelSetterDecorator.generateDecorator(InjectableInstance<ModelSetter> ctx) |
Constructor and Description |
---|
DataBindingUtil.DataBinderRef(MetaClass dataModelType,
Statement valueAccessor) |
Modifier and Type | Method and Description |
---|---|
static Statement |
TypeMarshaller.demarshal(MetaClass type,
Statement statement,
String accepts) |
static Statement |
JaxrsGwtRequestMethodMapper.fromMethod(MetaMethod method)
Searches for
HttpMethod annotations on the provided method and
returns the corresponding GWT RequestBuilder method. |
Statement |
JaxrsResourceMethodParameters.getCookieParameter(String name) |
Statement |
JaxrsResourceMethodParameters.getEntityParameter() |
Statement |
JaxrsResourceMethod.getHttpMethod() |
Statement |
JaxrsResourceMethodParameters.getMatrixParameter(String name) |
Statement |
JaxrsResourceMethodParameters.getPathParameter(String name) |
static Statement |
TypeMarshaller.marshal(MetaClass type,
Statement statement) |
static Statement |
TypeMarshaller.marshal(MetaClass type,
Statement statement,
String contentType) |
static Statement |
TypeMarshaller.marshal(Statement statement) |
static Statement |
TypeMarshaller.marshal(Statement statement,
String contentType) |
Modifier and Type | Method and Description |
---|---|
List<? extends Statement> |
ObservesExtension.generateDecorator(InjectableInstance<javax.enterprise.event.Observes> instance) |
javax.ws.rs.core.MultivaluedMap<String,Statement> |
JaxrsResourceMethodParameters.getCookieParameters() |
javax.ws.rs.core.MultivaluedMap<String,Statement> |
JaxrsResourceMethodParameters.getFormParameters() |
javax.ws.rs.core.MultivaluedMap<String,Statement> |
JaxrsResourceMethodParameters.getHeaderParameters() |
List<Statement> |
JaxrsResourceMethodParameters.getHeaderParameters(String name) |
javax.ws.rs.core.MultivaluedMap<String,Statement> |
JaxrsResourceMethodParameters.getMatrixParameters() |
javax.ws.rs.core.MultivaluedMap<String,Statement> |
JaxrsResourceMethodParameters.getPathParameters() |
javax.ws.rs.core.MultivaluedMap<String,Statement> |
JaxrsResourceMethodParameters.getQueryParameters() |
List<Statement> |
JaxrsResourceMethodParameters.getQueryParameters(String name) |
Modifier and Type | Method and Description |
---|---|
static Statement |
TypeMarshaller.demarshal(MetaClass type,
Statement statement,
String accepts) |
static Statement |
TypeMarshaller.marshal(MetaClass type,
Statement statement) |
static Statement |
TypeMarshaller.marshal(MetaClass type,
Statement statement,
String contentType) |
static Statement |
TypeMarshaller.marshal(Statement statement) |
static Statement |
TypeMarshaller.marshal(Statement statement,
String contentType) |
Modifier and Type | Method and Description |
---|---|
static JaxrsResourceMethodParameters |
JaxrsResourceMethodParameters.fromMethod(MetaMethod method,
List<? extends Statement> parameterValues) |
Modifier and Type | Method and Description |
---|---|
List<? extends Statement> |
AfterInitializationExtension.generateDecorator(InjectableInstance<AfterInitialization> instance) |
List<? extends Statement> |
TimedExtension.generateDecorator(InjectableInstance<Timed> ctx) |
Modifier and Type | Method and Description |
---|---|
static Statement |
InjectUtil.createDestructionCallback(MetaClass type,
String initVar,
List<Statement> statementList) |
static Statement |
InjectUtil.createInitializationCallback(MetaClass type,
String initVar,
List<Statement> statementList) |
static Statement |
AsyncInjectUtil.generateCallback(MetaClass type,
Statement... fieldAccessStmt) |
Statement |
Injector.getBeanInstance(InjectableInstance injectableInstance)
Return a statement providing access to the injector (or null for asynchronous logic)
|
static Statement |
InjectUtil.getInjectorOrProxy(InjectionContext ctx,
InjectableInstance injectableInstance,
MetaClass clazz,
QualifyingMetadata qualifyingMetadata) |
static Statement |
AsyncInjectUtil.getInjectorOrProxy(InjectionContext ctx,
InjectableInstance injectableInstance,
MetaClass clazz,
QualifyingMetadata qualifyingMetadata,
AsyncInjectorResolveCallback... callbacks) |
static Statement |
InjectUtil.getInjectorOrProxy(InjectionContext ctx,
InjectableInstance injectableInstance,
MetaClass clazz,
QualifyingMetadata qualifyingMetadata,
boolean alwaysProxyDependent) |
static Statement |
AsyncInjectUtil.getInjectorOrProxy(InjectionContext ctx,
InjectableInstance injectableInstance,
MetaClass clazz,
QualifyingMetadata qualifyingMetadata,
boolean alwaysProxyDependent,
AsyncInjectorResolveCallback... callbacks) |
static Statement |
InjectUtil.getPrivateFieldValue(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext processingContext,
Statement obj,
MetaField field)
Retrieves the value of a private field managed IOC component.
|
static Statement |
InjectUtil.getPublicOrPrivateFieldValue(InjectionContext context,
Statement obj,
MetaField field)
Read from the specified field, and automatically determine whether to make a public or private read based on the
visibility of the specified field.
|
Statement |
AbstractInjector.RegisterCache.getValueRefForRegister() |
static Statement |
InjectUtil.invokePrivateMethod(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext processingContext,
Statement obj,
MetaMethod method,
Statement... arguments)
Invokes a private method on a managed IOC component.
|
static Statement |
InjectUtil.invokePublicOrPrivateMethod(InjectionContext context,
Statement obj,
MetaMethod method,
Statement... arguments)
Invoke the specified method, and automatically determine whether to make the invocation public or private based
on the visibility of the specified method.
|
static Statement[] |
InjectUtil.resolveInjectionDependencies(MetaParameter[] parms,
InjectionContext ctx,
MetaConstructor constructor) |
static Statement[] |
AsyncInjectUtil.resolveInjectionDependencies(MetaParameter[] parms,
InjectionContext ctx,
MetaConstructor constructor) |
static Statement[] |
InjectUtil.resolveInjectionDependencies(MetaParameter[] parms,
InjectionContext ctx,
MetaMethod method) |
static Statement[] |
AsyncInjectUtil.resolveInjectionDependencies(MetaParameter[] parms,
InjectionContext ctx,
MetaMethod method,
AsyncInjectorResolveCallback... callbacks) |
static Statement[] |
InjectUtil.resolveInjectionDependencies(MetaParameter[] parms,
InjectionContext ctx,
MetaMethod method,
boolean inlineReference) |
static Statement[] |
AsyncInjectUtil.resolveInjectionDependencies(MetaParameter[] parms,
InjectionContext ctx,
MetaMethod method,
boolean inlineReference,
AsyncInjectorResolveCallback... callbacks) |
static Statement |
InjectUtil.setPrivateFieldValue(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext processingContext,
Statement obj,
MetaField field,
Statement val)
Set the value of a private field on a managed IOC component.
|
static Statement |
InjectUtil.setPublicOrPrivateFieldValue(InjectionContext context,
Statement obj,
MetaField field,
Statement val)
Write to the specified field, and automatically determine whether to make a public or private write based on the
visibility of the specified field.
|
Modifier and Type | Method and Description |
---|---|
List<Statement> |
AbstractInjector.createProxyDeclaration(InjectionContext context) |
List<Statement> |
AbstractInjector.createProxyDeclaration(InjectionContext context,
Statement beanRef) |
List<Statement> |
AbstractInjector.getAddToEndStatements() |
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> |
AbstractInjector.getWeavingStatements() |
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> |
AbstractInjector.getWeavingStatementsMap() |
Modifier and Type | Method and Description |
---|---|
void |
Injector.addInvokeAfter(MetaMethod method,
Statement statement)
Adds an invoke after statement on the specified method.
|
void |
AbstractInjector.addInvokeAfter(MetaMethod method,
Statement statement) |
void |
Injector.addInvokeAround(MetaMethod method,
Statement statement)
Adds an invoke around statement on the specified method.
|
void |
AbstractInjector.addInvokeAround(MetaMethod method,
Statement statement) |
void |
Injector.addInvokeBefore(MetaMethod method,
Statement statement)
Adds an invoke before statement on the specified method.
|
void |
AbstractInjector.addInvokeBefore(MetaMethod method,
Statement statement) |
ProxyMaker.ProxyProperty |
Injector.addProxyProperty(String propertyName,
Class type,
Statement statement)
Adds a proxy property to the generated proxy.
|
ProxyMaker.ProxyProperty |
AbstractInjector.addProxyProperty(String propertyName,
Class type,
Statement statement) |
ProxyMaker.ProxyProperty |
Injector.addProxyProperty(String propertyName,
MetaClass type,
Statement statement)
Adds a proxy property to the generated proxy.
|
ProxyMaker.ProxyProperty |
AbstractInjector.addProxyProperty(String propertyName,
MetaClass type,
Statement statementReference) |
void |
Injector.addStatementToEndOfInjector(Statement statement)
Adds a statement to be appended to the end of the generated
BeanProvider
code. |
void |
AbstractInjector.addStatementToEndOfInjector(Statement statement)
Add a statement to the end of the bean injector code.
|
List<Statement> |
AbstractInjector.createProxyDeclaration(InjectionContext context,
Statement beanRef) |
static Statement |
AsyncInjectUtil.generateCallback(MetaClass type,
Statement... fieldAccessStmt) |
static Statement |
InjectUtil.getPrivateFieldValue(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext processingContext,
Statement obj,
MetaField field)
Retrieves the value of a private field managed IOC component.
|
static Statement |
InjectUtil.getPublicOrPrivateFieldValue(InjectionContext context,
Statement obj,
MetaField field)
Read from the specified field, and automatically determine whether to make a public or private read based on the
visibility of the specified field.
|
static Statement |
InjectUtil.invokePrivateMethod(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext processingContext,
Statement obj,
MetaMethod method,
Statement... arguments)
Invokes a private method on a managed IOC component.
|
static Statement |
InjectUtil.invokePrivateMethod(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext processingContext,
Statement obj,
MetaMethod method,
Statement... arguments)
Invokes a private method on a managed IOC component.
|
static Statement |
InjectUtil.invokePublicOrPrivateMethod(InjectionContext context,
Statement obj,
MetaMethod method,
Statement... arguments)
Invoke the specified method, and automatically determine whether to make the invocation public or private based
on the visibility of the specified method.
|
static Statement |
InjectUtil.invokePublicOrPrivateMethod(InjectionContext context,
Statement obj,
MetaMethod method,
Statement... arguments)
Invoke the specified method, and automatically determine whether to make the invocation public or private based
on the visibility of the specified method.
|
void |
AbstractInjector.registerWithBeanManager(InjectionContext context,
Statement valueRef) |
static Statement |
InjectUtil.setPrivateFieldValue(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext processingContext,
Statement obj,
MetaField field,
Statement val)
Set the value of a private field on a managed IOC component.
|
static Statement |
InjectUtil.setPublicOrPrivateFieldValue(InjectionContext context,
Statement obj,
MetaField field,
Statement val)
Write to the specified field, and automatically determine whether to make a public or private write based on the
visibility of the specified field.
|
Modifier and Type | Method and Description |
---|---|
static Statement |
InjectUtil.createDestructionCallback(MetaClass type,
String initVar,
List<Statement> statementList) |
static Statement |
InjectUtil.createInitializationCallback(MetaClass type,
String initVar,
List<Statement> statementList) |
Constructor and Description |
---|
AbstractInjector.RegisterCache(InjectionContext _injectionContextForRegister,
Statement _valueRefForRegister) |
Modifier and Type | Method and Description |
---|---|
Statement |
InjectableInstance.callOrBind(Statement... values) |
Statement |
InjectionContext.getBeanReference(MetaClass ref) |
Statement |
InjectionContext.getInlineBeanReference(MetaParameter ref) |
Statement |
InjectableInstance.getTransientValue(String name,
Class type) |
Statement |
InjectableInstance.getTransientValue(String name,
MetaClass type) |
Statement |
InjectableInstance.getValueStatement()
Returns an instance of a
Statement which represents the value associated for injection at this
InjectionPoint. |
Modifier and Type | Method and Description |
---|---|
void |
InjectionContext.addBeanReference(MetaClass ref,
Statement statement) |
void |
InjectionContext.addInlineBeanReference(MetaParameter ref,
Statement statement) |
void |
InjectableInstance.addTransientValue(String name,
Class type,
Statement valueRef)
Record a transient value -- ie.
|
void |
InjectableInstance.addTransientValue(String name,
MetaClass type,
Statement valueRef) |
Statement |
InjectableInstance.callOrBind(Statement... values) |
void |
RegistrationHook.onRegister(InjectionContext context,
Statement beanValue) |
Modifier and Type | Method and Description |
---|---|
Statement |
AsyncTypeInjector.getBeanInstance(InjectableInstance injectableInstance) |
Statement |
AsyncProxyInjector.getBeanInstance(InjectableInstance injectableInstance) |
Statement |
AsyncProviderInjector.getBeanInstance(InjectableInstance injectableInstance) |
Statement |
AsyncProducerInjector.getBeanInstance(InjectableInstance injectableInstance) |
Statement |
AsyncContextualProviderInjector.getBeanInstance(InjectableInstance injectableInstance) |
Modifier and Type | Method and Description |
---|---|
void |
AsyncProxyInjector.addProxyCloseStatement(Statement statement) |
void |
AsyncProducerInjector.doBindings(BlockBuilder<?> block,
InjectionContext injectionContext,
Statement beanRef) |
void |
AsyncQualifiedTypeInjectorDelegate.registerWithBeanManager(InjectionContext context,
Statement valueRef) |
void |
AbstractAsyncInjector.registerWithBeanManager(InjectionContext context,
Statement valueRef) |
Modifier and Type | Method and Description |
---|---|
Statement |
TypeInjector.getBeanInstance(InjectableInstance injectableInstance) |
Statement |
QualifiedTypeInjectorDelegate.getBeanInstance(InjectableInstance injectableInstance) |
Statement |
ProxyInjector.getBeanInstance(InjectableInstance injectableInstance) |
Statement |
ProviderInjector.getBeanInstance(InjectableInstance injectableInstance) |
Statement |
ProducerInjector.getBeanInstance(InjectableInstance injectableInstance) |
Statement |
ContextualProviderInjector.getBeanInstance(InjectableInstance injectableInstance) |
Statement |
ProducerInjector.getValueStatement(InjectionContext injectionContext,
Statement beanRef) |
Modifier and Type | Method and Description |
---|---|
void |
ProxyInjector.addProxyCloseStatement(Statement statement) |
Statement |
ProducerInjector.getValueStatement(InjectionContext injectionContext,
Statement beanRef) |
void |
QualifiedTypeInjectorDelegate.registerWithBeanManager(InjectionContext context,
Statement valueRef) |
Modifier and Type | Method and Description |
---|---|
Statement |
QualifyingMetadata.render() |
Statement |
JSR330QualifyingMetadata.render() |
Modifier and Type | Method and Description |
---|---|
List<? extends Statement> |
ServiceCodeDecorator.generateDecorator(InjectableInstance<Service> injectableInstance) |
List<? extends Statement> |
ShadowServiceIOCExtension.generateDecorator(InjectableInstance<ShadowService> ctx) |
List<? extends Statement> |
UncaughtExceptionDecorator.generateDecorator(InjectableInstance<UncaughtException> ctx) |
Modifier and Type | Method and Description |
---|---|
static Statement |
RunAsyncWrapper.wrap(Collection<Statement> statements) |
static Statement |
RunAsyncWrapper.wrap(Statement statement) |
Modifier and Type | Method and Description |
---|---|
static Statement |
RunAsyncWrapper.wrap(Statement statement) |
Modifier and Type | Method and Description |
---|---|
static Statement |
RunAsyncWrapper.wrap(Collection<Statement> statements) |
Modifier and Type | Method and Description |
---|---|
Statement |
TypedQueryFactoryGenerator.generate(Context context)
Returns a statement that evaluates to a new instance of the TypedQueryFactory implementation.
|
Modifier and Type | Method and Description |
---|---|
List<? extends Statement> |
SyncDecorator.generateDecorator(InjectableInstance<Sync> ctx) |
Modifier and Type | Method and Description |
---|---|
Statement |
ArrayMarshallerCallback.deferred(MetaClass type,
MetaClass marshaller) |
Statement |
ArrayMarshallerCallback.demarshall(MetaClass type,
Statement value) |
Statement |
Mapping.getValueStatement() |
Statement |
ArrayMarshallerCallback.marshal(MetaClass type,
Statement value) |
Modifier and Type | Method and Description |
---|---|
Statement |
ArrayMarshallerCallback.demarshall(MetaClass type,
Statement value) |
Statement |
ArrayMarshallerCallback.marshal(MetaClass type,
Statement value) |
Modifier and Type | Method and Description |
---|---|
Statement |
DefaultJavaMappingStrategy.demarshallEnum(Statement objStatement,
Statement valStatement,
MetaClass toType) |
Statement |
DefaultJavaMappingStrategy.extractJSONObjectProperty(String fieldName,
Class fromType) |
Statement |
DefaultJavaMappingStrategy.extractJSONObjectProperty(String fieldName,
MetaClass fromType) |
Statement |
DefaultJavaMappingStrategy.fieldDemarshall(Mapping mapping,
Class<?> fromType) |
Statement |
DefaultJavaMappingStrategy.fieldDemarshall(Mapping mapping,
MetaClass fromType) |
Statement |
DefaultJavaMappingStrategy.maybeAddAssumedTypes(BlockBuilder<?> blockBuilder,
String varName,
Mapping mapping,
Statement statement) |
Statement |
DefaultJavaMappingStrategy.unwrapJSON(Statement valueStatement,
MetaClass toType,
MetaClass targetType) |
Statement |
DefaultJavaMappingStrategy.valueAccessorFor(MetaClassMember member,
ClassStructureBuilder<?> classStructureBuilder) |
Modifier and Type | Method and Description |
---|---|
Statement |
DefaultJavaMappingStrategy.demarshallEnum(Statement objStatement,
Statement valStatement,
MetaClass toType) |
void |
DefaultJavaMappingStrategy.marshallEnum(ContextualStatementBuilder bb,
Statement valueStatement,
MetaClass toType) |
Statement |
DefaultJavaMappingStrategy.maybeAddAssumedTypes(BlockBuilder<?> blockBuilder,
String varName,
Mapping mapping,
Statement statement) |
Statement |
DefaultJavaMappingStrategy.unwrapJSON(Statement valueStatement,
MetaClass toType,
MetaClass targetType) |
Modifier and Type | Method and Description |
---|---|
static void |
MarshallingGenUtil.ensureMarshallerFieldCreated(ClassStructureBuilder<?> classStructureBuilder,
MetaClass marshallerForType,
MetaClass type,
BlockBuilder<?> initMethod,
Statement marshallerCreationCallback) |
Modifier and Type | Method and Description |
---|---|
List<? extends Statement> |
PageSecurityCodeDecorator.generateDecorator(InjectableInstance<Page> ctx) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Statement> |
DataFieldCodeDecorator.aggregateDataFieldMap(InjectableInstance<?> ctx,
MetaClass componentType)
Get the aggregate map of
DataField names and Statement
instances for the given MetaClass type and all ancestors returned
by MetaClass.getSuperClass() . |
List<? extends Statement> |
DataFieldCodeDecorator.generateDecorator(InjectableInstance<DataField> ctx) |
List<? extends Statement> |
StyleBindingCodeDecorator.generateDecorator(InjectableInstance<StyleBinding> ctx) |
List<? extends Statement> |
TemplatedCodeDecorator.generateDecorator(InjectableInstance<Templated> ctx) |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.