Modifier and Type | Method and Description |
---|---|
Collection<MetaClass> |
RpcTypesProvider.provideTypesToExpose() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
RpcProxyLoaderGenerator.isRelevantNewClass(MetaClass clazz) |
Constructor and Description |
---|
RpcProxyGenerator(MetaClass remote,
com.google.gwt.core.ext.GeneratorContext context,
ProxyUtil.InterceptorProvider interceptorProvider) |
Modifier and Type | Method and Description |
---|---|
MetaClass[] |
ThrowsDeclaration.getExceptionTypes() |
MetaClass[] |
CallParameters.getParameterTypes() |
MetaClass |
MethodInvocation.getType() |
MetaClass |
StringStatement.getType() |
MetaClass |
Comment.getType() |
MetaClass |
ProxyMaker.ProxyProperty.getType() |
MetaClass |
Cast.getType() |
MetaClass |
TernaryStatement.getType() |
MetaClass |
Parameter.getType() |
MetaClass |
AbstractStatement.getType() |
MetaClass |
Variable.getType() |
MetaClass |
InnerClass.getType() |
MetaClass |
Statement.getType() |
Modifier and Type | Method and Description |
---|---|
Context |
Context.addImport(MetaClass clazz)
Imports the given class.
|
void |
Context.addLiteralizableClass(MetaClass clazz)
Mark a class "literalizable".
|
void |
OperatorImpl.assertCanBeApplied(MetaClass clazz) |
void |
UnaryOperator.assertCanBeApplied(MetaClass clazz) |
void |
ArithmeticOperator.assertCanBeApplied(MetaClass clazz) |
void |
BitwiseOperator.assertCanBeApplied(MetaClass clazz) |
void |
AssignmentOperator.assertCanBeApplied(MetaClass clazz) |
void |
Operator.assertCanBeApplied(MetaClass clazz) |
void |
BooleanOperator.assertCanBeApplied(MetaClass clazz) |
void |
Context.attachClass(MetaClass clazz)
Attaches a class to the current scope.
|
boolean |
OperatorImpl.canBeApplied(MetaClass clazz) |
boolean |
UnaryOperator.canBeApplied(MetaClass clazz) |
boolean |
ArithmeticOperator.canBeApplied(MetaClass clazz) |
boolean |
BitwiseOperator.canBeApplied(MetaClass clazz) |
boolean |
AssignmentOperator.canBeApplied(MetaClass clazz) |
boolean |
Operator.canBeApplied(MetaClass clazz) |
boolean |
BooleanOperator.canBeApplied(MetaClass clazz) |
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.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 Parameter |
Parameter.finalOf(MetaClass type,
String name) |
static DefParameters |
DefParameters.fromTypeArray(MetaClass... types) |
static DefParameters |
DefParameters.fromTypeArray(String prefix,
MetaClass... types) |
Class |
Context.getLiteralizableTargetType(MetaClass clazz)
Returns the literalizable target type for any matching subtype.
|
boolean |
Context.hasImport(MetaClass clazz)
Checks whether the given class has been imported.
|
boolean |
Context.isLiteralizableClass(MetaClass clazz)
Returns true if the specified class is literalizable.
|
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) |
static BuildMetaClass |
ProxyMaker.makeProxy(String proxyClassName,
MetaClass toProxy,
String privateAccessorType) |
static BuildMetaClass |
ProxyMaker.makeProxy(String proxyClassName,
MetaClass toProxy,
String privateAccessorType,
Map<String,ProxyMaker.ProxyProperty> proxyProperties,
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> weavingStatements) |
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 |
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 ThrowsDeclaration |
ThrowsDeclaration.of(MetaClass... exceptionTypes) |
static Parameter |
Parameter.of(MetaClass type,
String name) |
static Parameter |
Parameter.of(MetaClass type,
String name,
boolean isFinal) |
static StringStatement |
StringStatement.of(String statement,
MetaClass returnType) |
static Cast |
Cast.to(MetaClass cls,
Statement stmt) |
Modifier and Type | Method and Description |
---|---|
void |
Context.addLiteralizableMetaClasses(Collection<MetaClass> clazzes) |
Constructor and Description |
---|
MethodInvocation(CallWriter writer,
MetaClass inputType,
MetaMethod method,
CallParameters callParameters) |
Parameter(MetaClass type,
String name,
boolean isFinal) |
ProxyMaker.ProxyProperty(String propertyName,
MetaClass type,
Statement valueReference) |
StringStatement(String statement,
MetaClass returnType) |
Modifier and Type | Field and Description |
---|---|
protected MetaClass |
AbstractCallElement.resultType |
Modifier and Type | Method and Description |
---|---|
MetaClass |
AbstractCallElement.getResultType() |
MetaClass |
CallElement.getResultType() |
MetaClass |
LoadClassReference.ClassReference.getType() |
MetaClass |
CallWriter.getTypeParm(String var) |
Modifier and Type | Method and Description |
---|---|
void |
CallWriter.recordTypeParm(String var,
MetaClass type) |
Constructor and Description |
---|
LoadClassReference.ClassReference(MetaClass metaClass) |
LoadClassReference(MetaClass type) |
Modifier and Type | Method and Description |
---|---|
MetaClass |
BitwiseExpressionBuilder.getType() |
MetaClass |
BooleanExpressionBuilder.getType() |
MetaClass |
ArrayBuilderImpl.getType() |
MetaClass |
AssignmentBuilder.getType() |
MetaClass |
ArithmeticExpressionBuilder.getType() |
MetaClass |
ObjectBuilder.getType() |
MetaClass |
AbstractStatementBuilder.getType() |
Constructor and Description |
---|
FieldBuilder(BuildCallback<T> callback,
Scope scope,
MetaClass type,
String name) |
Modifier and Type | Method and Description |
---|---|
MetaClass |
UndefinedMethodException.getDeclaringClass() |
MetaClass |
UndefinedFieldException.getDeclaringClass() |
MetaClass[] |
UndefinedMethodException.getParameterTypes() |
MetaClass |
UnproxyableClassException.getUnproxyableClass() |
Constructor and Description |
---|
UndefinedConstructorException(MetaClass type,
MetaClass... parameterTypes) |
UndefinedConstructorException(MetaClass type,
MetaClass... parameterTypes) |
UndefinedConstructorException(MetaClass type,
Throwable cause,
MetaClass... parameterTypes) |
UndefinedConstructorException(MetaClass type,
Throwable cause,
MetaClass... parameterTypes) |
UndefinedFieldException(String fieldName,
MetaClass declaringClass) |
UndefinedMethodException(MetaClass declaringClass,
String methodName,
MetaClass... parameterTypes) |
UndefinedMethodException(MetaClass declaringClass,
String methodName,
MetaClass... parameterTypes) |
UnproxyableClassException(MetaClass clazz,
String message) |
Modifier and Type | Method and Description |
---|---|
MetaClass |
ClassLiteral.getActualType() |
MetaClass |
TypeLiteral.getActualType() |
MetaClass |
MetaClassLiteral.getActualType() |
MetaClass |
NullLiteral.getType() |
MetaClass |
ClassLiteral.getType() |
MetaClass |
ArrayLiteral.getType() |
MetaClass |
MetaClassLiteral.getType() |
MetaClass |
LiteralValue.getType() |
Constructor and Description |
---|
MetaClassLiteral(MetaClass value) |
Modifier and Type | Method and Description |
---|---|
abstract MetaClass |
MetaClass.asArrayOf(int dimensions) |
abstract MetaClass |
MetaClass.asBoxed() |
static MetaClass[] |
MetaClassFactory.asMetaClassArray(MetaParameter[] parms) |
abstract MetaClass |
MetaClass.asUnboxed() |
static MetaClass[] |
MetaClassFactory.fromClassArray(Class<?>[] classes) |
static MetaClass |
MetaClassFactory.get(Class<?> clazz) |
static MetaClass |
MetaClassFactory.get(Class<?> clazz,
Type type) |
static MetaClass |
MetaClassFactory.get(String fullyQualifiedClassName) |
MetaClass |
MetaClassCache.get(String fqcn) |
static MetaClass |
MetaClassFactory.get(String fullyQualifiedClassName,
boolean erased) |
static MetaClass |
MetaClassFactory.get(javax.enterprise.util.TypeLiteral<?> literal) |
static MetaClass |
MetaClassFactory.getArrayOf(Class<?> clazz,
int... dims) |
static MetaClass |
MetaClassFactory.getArrayOf(Class<?> clazz,
int dims) |
abstract MetaClass[] |
MetaMethod.getCheckedExceptions() |
abstract MetaClass |
MetaClass.getComponentType() |
abstract MetaClass[] |
MetaClass.getDeclaredClasses() |
MetaClass |
MetaField.ArrayLengthMetaField.getDeclaringClass() |
MetaClass |
MetaClassMember.getDeclaringClass() |
abstract MetaClass |
MetaClass.getErased()
Returns a MetaClass that represents the same class as this one, but
guaranteed to have no type parameters.
|
MetaClass |
MetaClassCache.getErased(String fqcn) |
abstract MetaClass[] |
MetaClass.getInterfaces() |
abstract MetaClass |
MetaClass.getOuterComponentType() |
MetaClass |
BeanDescriptor.getPropertyType(String propertyName) |
abstract MetaClass |
MetaMethod.getReturnType()
Returns the MetaClass representing this method's return type.
|
abstract MetaClass |
MetaClass.getSuperClass() |
abstract MetaClass |
MetaParameter.getType() |
abstract MetaClass |
MetaField.getType()
Returns an actual MetaClass (a class, interface, primitive type, array, or
enum, but not a type variable or a wildcard) representing an erased
type that is assignable to this field.
|
MetaClass |
MetaField.ArrayLengthMetaField.getType() |
static MetaClass |
MetaClassFactory.parameterizedAs(Class clazz,
MetaParameterizedType parameterizedType) |
static MetaClass |
MetaClassFactory.parameterizedAs(MetaClass clazz,
MetaParameterizedType parameterizedType) |
static MetaClass |
MetaClassFactory.parameterizedAs(MetaClass clazz,
MetaParameterizedType parameterizedType,
boolean reifyRecursively) |
Modifier and Type | Method and Description |
---|---|
Collection<MetaClass> |
MetaClassCache.getAllCached() |
static Collection<MetaClass> |
MetaClassFactory.getAllCachedClasses() |
Set<MetaClass> |
MetaClassCache.getAllNewClasses() |
Collection<MetaClass> |
MetaClassCache.getAllNewOrUpdated() |
static Collection<MetaClass> |
MetaClassFactory.getAllNewOrUpdatedClasses() |
static Collection<MetaClass> |
MetaClassFactory.getNewClasses() |
Modifier and Type | Method and Description |
---|---|
static Statement |
MetaClassFactory.getAsStatement(MetaClass metaClass) |
abstract MetaConstructor |
MetaClass.getBestMatchingConstructor(MetaClass... parameters) |
abstract MetaMethod |
MetaClass.getBestMatchingMethod(String name,
MetaClass... parameters) |
abstract MetaMethod |
MetaClass.getBestMatchingStaticMethod(String name,
MetaClass... parameters) |
abstract MetaConstructor |
MetaClass.getConstructor(MetaClass... parameters) |
abstract MetaMethod |
MetaClass.getDeclaredMethod(String name,
MetaClass... parameters) |
abstract MetaMethod |
MetaClass.getMethod(String name,
MetaClass... parameters) |
abstract boolean |
MetaClass.isAssignableFrom(MetaClass clazz)
Reports if the type represented by this MetaClass is a supertype of (or the
same class as) the type represented by the given MetaClass.
|
abstract boolean |
MetaClass.isAssignableTo(MetaClass clazz) |
static MetaClass |
MetaClassFactory.parameterizedAs(MetaClass clazz,
MetaParameterizedType parameterizedType) |
static MetaClass |
MetaClassFactory.parameterizedAs(MetaClass clazz,
MetaParameterizedType parameterizedType,
boolean reifyRecursively) |
void |
MetaClassCache.pushCache(MetaClass clazz) |
void |
MetaClassCache.pushCache(String fqcn,
MetaClass clazz) |
void |
MetaClassCache.pushErasedCache(String fqcn,
MetaClass clazz) |
Modifier and Type | Method and Description |
---|---|
void |
MetaClassCache.updateCache(Map<String,MetaClass> mapToPush) |
Constructor and Description |
---|
MetaField.ArrayLengthMetaField(MetaClass componentType) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMetaClass<T> |
Modifier and Type | Method and Description |
---|---|
MetaClass |
AbstractMetaClass.asBoxed() |
MetaClass |
AbstractMetaClass.asUnboxed() |
MetaClass |
AbstractMetaClass.getOuterComponentType() |
Modifier and Type | Method and Description |
---|---|
protected static MetaConstructor |
AbstractMetaClass._getConstructor(MetaConstructor[] constructors,
MetaClass... parmTypes) |
protected static MetaMethod |
AbstractMetaClass._getMethod(MetaMethod[] methods,
String name,
MetaClass... parmTypes) |
MetaConstructor |
AbstractMetaClass.getBestMatchingConstructor(MetaClass... parameters) |
MetaMethod |
AbstractMetaClass.getBestMatchingMethod(String name,
MetaClass... parameters) |
MetaMethod |
AbstractMetaClass.getBestMatchingStaticMethod(String name,
MetaClass... parameters) |
MetaConstructor |
AbstractMetaClass.getConstructor(MetaClass... parameters) |
MetaMethod |
AbstractMetaClass.getDeclaredMethod(String name,
MetaClass... parmTypes) |
MetaMethod |
AbstractMetaClass.getMethod(String name,
MetaClass... parameters) |
boolean |
AbstractMetaClass.isAssignableFrom(MetaClass clazz) |
boolean |
AbstractMetaClass.isAssignableTo(MetaClass clazz) |
Modifier and Type | Class and Description |
---|---|
class |
BuildMetaClass |
Modifier and Type | Method and Description |
---|---|
MetaClass |
BuildMetaClass.asArrayOf(int dimensions) |
MetaClass[] |
BuildMetaConstructor.getCheckedExceptions() |
MetaClass[] |
BuildMetaMethod.getCheckedExceptions() |
MetaClass |
BuildMetaClass.getComponentType() |
MetaClass[] |
BuildMetaClass.getDeclaredClasses() |
MetaClass |
BuildMetaConstructor.getDeclaringClass() |
MetaClass |
BuildMetaField.getDeclaringClass() |
MetaClass |
BuildMetaMethod.getDeclaringClass() |
MetaClass |
BuildMetaClass.getErased() |
MetaClass[] |
BuildMetaClass.getInterfaces() |
MetaClass |
BuildMetaClass.getReifiedFormOf() |
MetaClass |
BuildMetaConstructor.getReturnType() |
MetaClass |
BuildMetaMethod.getReturnType() |
MetaClass |
BuildMetaClass.getSuperClass() |
MetaClass |
BuildMetaField.getType() |
Modifier and Type | Method and Description |
---|---|
void |
BuildMetaClass.addInterface(MetaClass interfaceClass) |
MetaConstructor |
BuildMetaClass.getBestMatchingConstructor(MetaClass... parameters) |
MetaMethod |
BuildMetaClass.getBestMatchingMethod(String name,
MetaClass... parameters) |
MetaMethod |
BuildMetaClass.getBestMatchingStaticMethod(String name,
MetaClass... parameters) |
void |
BuildMetaClass.setReifiedFormOf(MetaClass reifiedFormOf) |
void |
BuildMetaMethod.setReturnType(MetaClass returnType) |
void |
BuildMetaClass.setSuperClass(MetaClass superClass) |
void |
BuildMetaField.setType(MetaClass type) |
Modifier and Type | Method and Description |
---|---|
void |
BuildMetaClass.setInterfaces(List<MetaClass> interfaces) |
Constructor and Description |
---|
BuildMetaField(BuildMetaClass declaringClass,
Statement statement,
Scope scope,
MetaClass type,
String name) |
BuildMetaMethod(BuildMetaClass declaringClass,
BlockStatement body,
Scope scope,
DefModifiers modifiers,
String name,
MetaClass returnType,
DefParameters defParameters,
ThrowsDeclaration throwsDeclaration) |
ShadowBuildMetaField(BuildMetaClass declaringClass,
Statement statement,
Scope scope,
MetaClass type,
String name,
MetaField shadow) |
ShadowBuildMetaMethod(BuildMetaClass declaringClass,
BlockStatement body,
Scope scope,
DefModifiers modifiers,
String name,
MetaClass returnType,
DefParameters defParameters,
ThrowsDeclaration throwsDeclaration,
MetaMethod shadow) |
Modifier and Type | Class and Description |
---|---|
class |
GWTClass |
Modifier and Type | Method and Description |
---|---|
MetaClass |
GWTClass.asArrayOf(int dimensions) |
static MetaClass |
GWTUtil.eraseOrReturn(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
com.google.gwt.core.ext.typeinfo.JType t) |
static MetaClass[] |
GWTClass.fromClassArray(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
com.google.gwt.core.ext.typeinfo.JClassType[] classes) |
MetaClass[] |
GWTConstructor.getCheckedExceptions() |
MetaClass[] |
GWTSpecialMethod.getCheckedExceptions() |
MetaClass[] |
GWTMethod.getCheckedExceptions() |
MetaClass |
GWTClass.getComponentType() |
MetaClass[] |
GWTClass.getDeclaredClasses() |
MetaClass |
GWTConstructor.getDeclaringClass() |
MetaClass |
GWTSpecialMethod.getDeclaringClass() |
MetaClass |
GWTMethod.getDeclaringClass() |
MetaClass |
GWTField.getDeclaringClass() |
MetaClass |
GWTClass.getErased() |
MetaClass[] |
GWTClass.getInterfaces() |
MetaClass |
GWTConstructor.getReturnType() |
MetaClass |
GWTSpecialMethod.getReturnType() |
MetaClass |
GWTMethod.getReturnType() |
MetaClass |
GWTClass.getSuperClass() |
MetaClass |
GWTParameter.getType() |
MetaClass |
GWTField.getType() |
static MetaClass |
GWTClass.newInstance(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
com.google.gwt.core.ext.typeinfo.JType type) |
static MetaClass |
GWTClass.newInstance(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
String type) |
static MetaClass |
GWTClass.newUncachedInstance(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
com.google.gwt.core.ext.typeinfo.JType type) |
static MetaClass |
GWTClass.newUncachedInstance(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
com.google.gwt.core.ext.typeinfo.JType type,
boolean erased) |
Modifier and Type | Class and Description |
---|---|
class |
JavaReflectionClass |
Modifier and Type | Method and Description |
---|---|
MetaClass |
JavaReflectionClass.asArrayOf(int dimensions) |
MetaClass[] |
JavaReflectionConstructor.getCheckedExceptions() |
MetaClass[] |
JavaReflectionMethod.getCheckedExceptions() |
MetaClass |
JavaReflectionClass.getComponentType() |
MetaClass[] |
JavaReflectionClass.getDeclaredClasses() |
MetaClass |
JavaReflectionConstructor.getDeclaringClass() |
MetaClass |
JavaReflectionField.getDeclaringClass() |
MetaClass |
JavaReflectionMethod.getDeclaringClass() |
MetaClass |
JavaReflectionClass.getErased() |
MetaClass[] |
JavaReflectionClass.getInterfaces() |
MetaClass |
JavaReflectionConstructor.getReturnType() |
MetaClass |
JavaReflectionMethod.getReturnType() |
MetaClass |
JavaReflectionClass.getSuperClass() |
MetaClass |
JavaReflectionParameter.getType() |
MetaClass |
JavaReflectionField.getType() |
static MetaClass |
JavaReflectionClass.newInstance(Class type) |
static MetaClass |
JavaReflectionClass.newInstance(javax.enterprise.util.TypeLiteral type) |
static MetaClass |
JavaReflectionClass.newUncachedInstance(Class type) |
static MetaClass |
JavaReflectionClass.newUncachedInstance(Class clazz,
boolean erased) |
static MetaClass |
JavaReflectionClass.newUncachedInstance(Class clazz,
Type type) |
static MetaClass |
JavaReflectionClass.newUncachedInstance(javax.enterprise.util.TypeLiteral type) |
Constructor and Description |
---|
JavaReflectionMethod(MetaClass referenceClass,
Method method) |
JavaReflectionParameter(MetaClass type,
Annotation[] annotations,
MetaClassMember declaredBy) |
Modifier and Type | Method and Description |
---|---|
static MetaClass[] |
GenUtil.classToMeta(Class<?>[] types) |
static MetaClass[] |
GenUtil.fromParameters(MetaParameter... parms) |
static MetaClass |
GenUtil.getPrimitiveWrapper(MetaClass clazz) |
MetaClass |
EmptyStatement.getType()
Always returns the MetaClass for java.lang.Object.
|
static MetaClass |
GenUtil.getUnboxedFromWrapper(MetaClass clazz) |
Modifier and Type | Method and Description |
---|---|
static void |
GenUtil.assertAssignableTypes(Context context,
MetaClass from,
MetaClass to) |
static void |
Implementations.autoInitializedField(ClassStructureBuilder<?> builder,
MetaClass type,
String name,
Class<?> implementation) |
static void |
Implementations.autoInitializedField(ClassStructureBuilder<?> builder,
MetaClass type,
String name,
MetaClass implementation) |
static boolean |
GenUtil.canConvert(MetaClass to,
MetaClass from) |
static ContextualStatementBuilder |
Stmt.castTo(MetaClass clazz,
Statement stmt) |
static String |
GenUtil.classesAsStrings(MetaClass... stmt) |
static Statement |
GenUtil.convert(Context context,
Object input,
MetaClass targetType) |
void |
GWTPrivateMemberAccessor.createReadableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
void |
PrivateMemberAccessor.createReadableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
void |
ReflectionPrivateMemberAccessor.createReadableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
void |
GWTPrivateMemberAccessor.createWritableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
void |
PrivateMemberAccessor.createWritableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
void |
ReflectionPrivateMemberAccessor.createWritableField(MetaClass type,
ClassStructureBuilder<?> classBuilder,
MetaField field,
Modifier[] modifiers) |
static StatementBuilder |
Stmt.declareFinalVariable(String name,
MetaClass type,
Object initialization) |
static VariableDeclarationStart<StatementBegin> |
Stmt.declareVariable(MetaClass type) |
static StatementBuilder |
Stmt.declareVariable(String name,
MetaClass type,
Object initialization) |
static MetaMethod |
GenUtil.findCaseInsensitiveMatch(MetaClass retType,
MetaClass clazz,
String name,
MetaClass... parms) |
static MetaMethod |
GenUtil.findCaseInsensitiveMatch(MetaClass retType,
MetaClass clazz,
String name,
MetaClass... parms) |
static AnonymousClassStructureBuilder |
ProxyUtil.generateProxyMethodCallContext(com.google.gwt.core.ext.GeneratorContext context,
Class<? extends RemoteCallContext> callContextType,
MetaClass proxyClass,
MetaMethod method,
Statement proceed,
List<Class<?>> interceptors)
Generates the
CallContext for method
interception. |
static VariableReference |
Refs.get(String name,
MetaClass type) |
static int |
GenUtil.getArrayDimensions(MetaClass type) |
static MetaMethod |
GenUtil.getBestCandidate(MetaClass[] arguments,
String method,
MetaClass decl,
MetaMethod[] methods,
boolean classTarget) |
static MetaMethod |
GenUtil.getBestCandidate(MetaClass[] arguments,
String method,
MetaClass decl,
MetaMethod[] methods,
boolean classTarget) |
static MetaConstructor |
GenUtil.getBestConstructorCandidate(MetaClass[] arguments,
MetaClass decl,
MetaConstructor[] constructors,
boolean classTarget) |
static MetaConstructor |
GenUtil.getBestConstructorCandidate(MetaClass[] arguments,
MetaClass decl,
MetaConstructor[] constructors,
boolean classTarget) |
List<Class<?>> |
ProxyUtil.InterceptorProvider.getInterceptors(MetaClass type,
MetaMethod method)
Returns the interceptors for the provided proxy type and method.
|
static MetaClass |
GenUtil.getPrimitiveWrapper(MetaClass clazz) |
static MetaClass |
GenUtil.getUnboxedFromWrapper(MetaClass clazz) |
static BlockBuilder<ElseBlockBuilder> |
If.instanceOf(Object lhs,
MetaClass type) |
static BooleanExpression |
Bool.instanceOf(Object lhs,
MetaClass type) |
static ContextualStatementBuilder |
Stmt.invokeStatic(MetaClass clazz,
String methodName,
Object... parameters) |
static boolean |
GenUtil.isNumericallyCoercible(MetaClass target,
MetaClass parm) |
static boolean |
GenUtil.isPrimitiveWrapper(MetaClass clazz) |
static ContextualStatementBuilder |
Stmt.loadStatic(MetaClass clazz,
String fieldName) |
static ArrayInitializationBuilder |
Stmt.newArray(MetaClass componentType) |
static ArrayInitializationBuilder |
Stmt.newArray(MetaClass componentType,
Object... dimensions) |
static ObjectBuilder |
Stmt.newObject(MetaClass type) |
static Statement |
Stmt.newObject(MetaClass type,
Object... parms) |
static Scope |
GenUtil.scopeOf(MetaClass clazz) |
static int |
GenUtil.scoreInterface(MetaClass parm,
MetaClass arg) |
static int |
GenUtil.scoreMethods(MetaClass[] arguments,
MetaParameter[] parmTypes,
boolean isVarArgs) |
Constructor and Description |
---|
ProxyUtil.InterceptorProvider(Collection<MetaClass> featureInterceptors,
Collection<MetaClass> standaloneInterceptors) |
ProxyUtil.InterceptorProvider(Collection<MetaClass> featureInterceptors,
Collection<MetaClass> standaloneInterceptors) |
Modifier and Type | Method and Description |
---|---|
Set<MetaClass> |
EnvironmentConfig.getExposedClasses() |
Set<MetaClass> |
EnvironmentConfig.getPortableSuperTypes() |
Collection<MetaClass> |
ExposedTypesProvider.provideTypesToExpose()
Returns the list of types that should be exposed as portable.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractAsyncGenerator.addCacheRelevantClass(MetaClass clazz)
Marks the provided class as cache relevant.
|
protected boolean |
AbstractAsyncGenerator.isRelevantNewClass(MetaClass clazz)
Checks if the provided class is relevant to this generator.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractAsyncGenerator.addCacheRelevantClasses(Collection<MetaClass> classes)
Marks the provided classes as cache relevant.
|
Modifier and Type | Method and Description |
---|---|
static Collection<MetaClass> |
ClassScanner.getSubTypesOf(MetaClass metaClass,
com.google.gwt.core.ext.GeneratorContext genCtx) |
static Collection<MetaClass> |
ClassScanner.getTypesAnnotatedWith(Class<? extends Annotation> annotation) |
static Collection<MetaClass> |
ClassScanner.getTypesAnnotatedWith(Class<? extends Annotation> annotation,
boolean reflections) |
static Collection<MetaClass> |
ClassScanner.getTypesAnnotatedWith(Class<? extends Annotation> annotation,
com.google.gwt.core.ext.GeneratorContext genCtx) |
static Collection<MetaClass> |
ClassScanner.getTypesAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx) |
static Collection<MetaClass> |
ClassScanner.getTypesAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
String excludeRegEx,
com.google.gwt.core.ext.GeneratorContext genCtx,
boolean reflections) |
static Collection<MetaClass> |
ClassScanner.getTypesAnnotatedWithExcluding(Class<? extends Annotation> annotation,
String excludeRegex,
com.google.gwt.core.ext.GeneratorContext genCtx) |
Modifier and Type | Method and Description |
---|---|
static Collection<MetaClass> |
ClassScanner.getSubTypesOf(MetaClass metaClass,
com.google.gwt.core.ext.GeneratorContext genCtx) |
Modifier and Type | Method and Description |
---|---|
MetaClass |
DataBindingUtil.DataBinderRef.getDataModelType() |
Modifier and Type | Method and Description |
---|---|
static Set<MetaClass> |
DataBindingUtil.getAllBindableTypes(com.google.gwt.core.ext.GeneratorContext context)
Returns all bindable types on the classpath.
|
static Set<MetaClass> |
DataBindingUtil.getConfiguredBindableTypes()
Reads bindable types from all ErraiApp.properties files on the classpath.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
DataBindingUtil.isBindableType(MetaClass type)
Checks if the provided type is bindable.
|
protected boolean |
BindableProxyLoaderGenerator.isRelevantNewClass(MetaClass clazz) |
static boolean |
DataBindingValidator.isValidPropertyChain(MetaClass bindableType,
String propertyChain)
Returns true if and only if the given property chain is a valid property expression rooted in the given bindable
type.
|
Constructor and Description |
---|
BindableProxyGenerator(MetaClass bindable,
com.google.gwt.core.ext.TreeLogger logger) |
DataBindingUtil.DataBinderRef(MetaClass dataModelType,
Statement valueAccessor) |
Modifier and Type | Method and Description |
---|---|
static boolean |
TypeMarshaller.PrimitiveTypeMarshaller.canHandle(MetaClass type,
String mimeType) |
static Statement |
TypeMarshaller.demarshal(MetaClass type,
Statement statement,
String accepts) |
static JaxrsHeaders |
JaxrsHeaders.fromClass(MetaClass clazz)
Generates HTTP headers based on the JAX-RS annotations on the provided class or interface.
|
protected boolean |
JaxrsProxyLoaderGenerator.isRelevantNewClass(MetaClass clazz) |
static Statement |
TypeMarshaller.marshal(MetaClass type,
Statement statement) |
static Statement |
TypeMarshaller.marshal(MetaClass type,
Statement statement,
String contentType) |
Constructor and Description |
---|
JaxrsProxyGenerator(MetaClass remote,
com.google.gwt.core.ext.GeneratorContext context,
ProxyUtil.InterceptorProvider interceptorProvider,
com.google.common.collect.Multimap<MetaClass,MetaClass> exceptionMappers) |
JaxrsProxyMethodGenerator(MetaClass remote,
ClassStructureBuilder<?> classBuilder,
JaxrsResourceMethod resourceMethod,
ProxyUtil.InterceptorProvider interceptorProvider,
com.google.gwt.core.ext.GeneratorContext context) |
Constructor and Description |
---|
JaxrsProxyGenerator(MetaClass remote,
com.google.gwt.core.ext.GeneratorContext context,
ProxyUtil.InterceptorProvider interceptorProvider,
com.google.common.collect.Multimap<MetaClass,MetaClass> exceptionMappers) |
JaxrsProxyGenerator(MetaClass remote,
com.google.gwt.core.ext.GeneratorContext context,
ProxyUtil.InterceptorProvider interceptorProvider,
com.google.common.collect.Multimap<MetaClass,MetaClass> exceptionMappers) |
Modifier and Type | Field and Description |
---|---|
protected MetaClass |
UnsatisfiedDependency.injectedType |
Modifier and Type | Method and Description |
---|---|
MetaClass |
UnsatisfiedDependency.getEnclosingType() |
MetaClass |
InjectionFailure.getFailedDependency() |
MetaClass |
UnsatisfiedDependency.getInjectedType() |
Modifier and Type | Method and Description |
---|---|
static UnsatisfiedDependenciesException |
UnsatisfiedDependenciesException.createWithSingleFieldFailure(MetaField field,
MetaClass enclosingType,
MetaClass injectedType,
String message) |
static UnsatisfiedDependenciesException |
UnsatisfiedDependenciesException.createWithSingleMethodFailure(MetaMethod method,
MetaClass enclosingType,
MetaClass injectedType,
String message) |
static UnsatisfiedDependenciesException |
UnsatisfiedDependenciesException.createWithSingleParameterFailure(MetaParameter parm,
MetaClass enclosingType,
MetaClass injectedType,
String message) |
void |
InjectionFailure.setFailedDependency(MetaClass failedDependency) |
Constructor and Description |
---|
InjectionFailure(MetaClass failedDependency) |
InjectionFailure(MetaClass failedDependency,
Throwable cause) |
InjectionFailure(String message,
MetaClass failed) |
UnsatisfiedDependency(MetaClass enclosingType,
MetaClass injectedType,
String message) |
UnsatisfiedField(MetaField field,
MetaClass enclosingType,
MetaClass injectedType,
String message) |
UnsatisfiedMethod(MetaMethod method,
MetaClass enclosingType,
MetaClass injectedType,
String message) |
UnsatisfiedParameter(MetaParameter field,
MetaClass enclosingType,
MetaClass injectedType,
String message) |
Modifier and Type | Method and Description |
---|---|
static <T> Set<MetaClass> |
JSR330AnnotationHandler.fillInInterface(MetaClass cls,
com.google.gwt.core.ext.GeneratorContext genCtx) |
Modifier and Type | Method and Description |
---|---|
static <T> Set<MetaClass> |
JSR330AnnotationHandler.fillInInterface(MetaClass cls,
com.google.gwt.core.ext.GeneratorContext genCtx) |
void |
DependencyControl.masqueradeAs(MetaClass clazz) |
void |
DependencyControl.notifyDependency(MetaClass clazz) |
static void |
JSR330AnnotationHandler.processDependencies(DependencyControl control,
MetaClass metaClass,
InjectionContext context) |
Modifier and Type | Method and Description |
---|---|
void |
DependencyControl.notifyDependencies(Collection<MetaClass> clazzes) |
Modifier and Type | Method and Description |
---|---|
MetaClass |
ProxySortUnit.getType() |
MetaClass |
SortUnit.getType()
Returns the type which this sort unit represents.
|
MetaClass |
Dependency.getType() |
Modifier and Type | Method and Description |
---|---|
GraphBuilder |
GraphBuilder.addDependency(MetaClass type,
Dependency dependency)
Records a dependency on the specified type.
|
GraphBuilder |
GraphBuilder.addItem(MetaClass type,
Object item)
Record an arbitrary object to be associated with a type.
|
static SortUnit |
SortUnit.create(MetaClass type,
Collection<Object> items,
Collection<SortUnit> dependencies) |
int |
GraphBuilder.getDependencyCount(MetaClass type)
Returns the number of recorded dependencies for the specified type.
|
boolean |
GraphBuilder.hasType(MetaClass type) |
static Dependency |
Dependency.on(MetaClass type) |
static ProxySortUnit |
ProxySortUnit.proxyOf(MetaClass type)
Creates a new proxied SortUnit on the specified type.
|
Constructor and Description |
---|
SortUnit(MetaClass type,
List<Object> items,
Set<SortUnit> dependencies) |
Modifier and Type | Field and Description |
---|---|
protected MetaClass |
AbstractInjector.enclosingType |
Modifier and Type | Method and Description |
---|---|
MetaClass |
Injector.getConcreteInjectedType()
Returns the concrete type that will be returned by this injector.
|
MetaClass |
AbstractInjector.getConcreteInjectedType() |
MetaClass |
Injector.getEnclosingType()
The enclosing type of the injector.
|
MetaClass |
AbstractInjector.getEnclosingType() |
MetaClass |
Injector.getInjectedType()
The injected type of the injector.
|
Modifier and Type | Field and Description |
---|---|
protected MetaClass |
AsyncInjectionTask.type |
protected MetaClass |
InjectionTask.type |
protected MetaClass |
InjectionPoint.type |
Modifier and Type | Method and Description |
---|---|
MetaClass |
InjectionPoint.getElementType() |
MetaClass |
InjectionPoint.getElementTypeOrMethodReturnType()
Returns the element type or a method return type, based on what the injection point is.
|
MetaClass |
InjectionPoint.getEnclosingType() |
Modifier and Type | Method and Description |
---|---|
Collection<MetaClass> |
InjectionContext.getAllKnownInjectionTypes() |
Modifier and Type | Method and Description |
---|---|
void |
InjectionContext.addBeanReference(MetaClass ref,
Statement statement) |
void |
InjectionContext.addInjectorRegistrationListener(MetaClass clazz,
InjectorRegistrationListener listener) |
void |
InjectionContext.addPseudoScopeForType(MetaClass type) |
void |
InjectionContext.addTopLevelType(MetaClass clazz) |
void |
InjectableInstance.addTransientValue(String name,
MetaClass type,
Statement valueRef) |
void |
InjectionContext.addType(MetaClass type) |
boolean |
InjectionContext.cycles(MetaClass from,
MetaClass to) |
void |
InjectionContext.declareOverridden(MetaClass type) |
Statement |
InjectionContext.getBeanReference(MetaClass ref) |
static <T extends Annotation> |
InjectableInstance.getInjectedInstance(T annotation,
MetaClass type,
Injector injector,
InjectionContext context) |
Injector |
InjectionContext.getInjector(MetaClass type) |
List<Injector> |
InjectionContext.getInjectors(MetaClass type) |
Injector |
InjectionContext.getProxiedInjector(MetaClass type,
QualifyingMetadata metadata) |
Injector |
InjectionContext.getQualifiedInjector(MetaClass type,
Annotation[] annotations) |
Injector |
InjectionContext.getQualifiedInjector(MetaClass type,
QualifyingMetadata metadata) |
Statement |
InjectableInstance.getTransientValue(String name,
MetaClass type) |
boolean |
InjectionContext.hasInjectorForType(MetaClass type) |
boolean |
InjectionContext.hasTopLevelType(MetaClass clazz) |
boolean |
InjectableInstance.hasUnsatisfiedTransientValue(String name,
MetaClass type) |
boolean |
InjectionContext.isBlacklisted(MetaClass type) |
boolean |
InjectionContext.isIncluded(MetaClass type) |
boolean |
InjectionContext.isInjectableQualified(MetaClass injectorType,
QualifyingMetadata qualifyingMetadata) |
boolean |
InjectionContext.isInjectorRegistered(MetaClass injectorType,
QualifyingMetadata qualifyingMetadata) |
boolean |
InjectionContext.isProxiedInjectorRegistered(MetaClass injectorType,
QualifyingMetadata qualifyingMetadata) |
boolean |
InjectionContext.isReachable(MetaClass clazz) |
boolean |
InjectionContext.isTypeInjectable(MetaClass type) |
boolean |
InjectionContext.isWhitelisted(MetaClass type) |
void |
InjectionContext.markProxyClosedIfNeeded(MetaClass injectorType,
QualifyingMetadata qualifyingMetadata)
Marks the proxy for te specified type and qualifying metadata closed.
|
void |
TypeDiscoveryListener.onDiscovery(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext context,
InjectionPoint injectionPoint,
MetaClass discoveredType) |
void |
InjectorRegistrationListener.onRegister(MetaClass type,
Injector injector) |
void |
InjectionContext.recordCycle(MetaClass from,
MetaClass to) |
boolean |
InjectionContext.typeContainsGraphCycles(MetaClass type) |
Modifier and Type | Method and Description |
---|---|
void |
InjectionContext.addTopLevelTypes(Collection<MetaClass> clazzes) |
Constructor and Description |
---|
AsyncDecoratorTask(Injector injector,
MetaClass type,
IOCDecoratorExtension[] decs) |
AsyncInjectionTask(Injector injector,
MetaClass type) |
DecoratorTask(Injector injector,
MetaClass type,
Class<? extends Annotation> annotationType,
IOCDecoratorExtension[] decs) |
InjectableInstance(T annotation,
TaskType taskType,
MetaConstructor constructor,
MetaMethod method,
MetaField field,
MetaClass type,
MetaParameter parm,
Injector injector,
InjectionContext injectionContext) |
InjectionPoint(T annotation,
TaskType taskType,
MetaConstructor constructor,
MetaMethod method,
MetaField field,
MetaClass type,
MetaParameter parm,
Injector injector,
InjectionContext injectionContext) |
InjectionTask(Injector injector,
MetaClass type) |
Modifier and Type | Field and Description |
---|---|
protected MetaClass |
AsyncTypeInjector.type |
Modifier and Type | Method and Description |
---|---|
MetaClass |
AsyncQualifiedTypeInjectorDelegate.getConcreteInjectedType() |
MetaClass |
AsyncTypeInjector.getInjectedType() |
MetaClass |
AsyncProxyInjector.getInjectedType() |
MetaClass |
AsyncProducerInjector.getInjectedType() |
Constructor and Description |
---|
AsyncContextualProviderInjector(MetaClass type,
MetaClass providerType,
InjectionContext context) |
AsyncProducerInjector(MetaClass injectedType,
MetaClassMember producerMember,
InjectableInstance producerInjectableInstance) |
AsyncProviderInjector(MetaClass type,
MetaClass providerType,
InjectionContext context) |
AsyncProxyInjector(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext context,
MetaClass proxiedType,
QualifyingMetadata metadata) |
AsyncQualifiedTypeInjectorDelegate(MetaClass type,
Injector delegate,
MetaParameterizedType parameterizedType) |
AsyncTypeInjector(MetaClass type,
InjectionContext context) |
Modifier and Type | Field and Description |
---|---|
protected MetaClass |
QualifiedTypeInjectorDelegate.type |
protected MetaClass |
TypeInjector.type |
Modifier and Type | Method and Description |
---|---|
MetaClass |
QualifiedTypeInjectorDelegate.getConcreteInjectedType() |
MetaClass |
QualifiedTypeInjectorDelegate.getEnclosingType() |
MetaClass |
QualifiedTypeInjectorDelegate.getInjectedType() |
MetaClass |
ProducerInjector.getInjectedType() |
MetaClass |
ProxyInjector.getInjectedType() |
MetaClass |
TypeInjector.getInjectedType() |
Constructor and Description |
---|
ContextualProviderInjector(MetaClass type,
MetaClass providerType,
InjectionContext context) |
ProducerInjector(MetaClass injectedType,
MetaClassMember producerMember,
InjectableInstance producerInjectableInstance) |
ProviderInjector(MetaClass type,
MetaClass providerType,
InjectionContext context) |
ProxyInjector(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext context,
MetaClass proxiedType,
QualifyingMetadata metadata) |
QualifiedTypeInjectorDelegate(MetaClass type,
Injector delegate,
MetaParameterizedType parameterizedType) |
TypeInjector(MetaClass type,
InjectionContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
ErraiEntityManagerGenerator.generateLifecycleEventDeliveryMethods(MetaClass entityType,
AnonymousClassStructureBuilder classBuilder,
List<MetaClass> globalEntityListeners)
Generates the event delivery methods for the given JPA Entity type.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ErraiEntityManagerGenerator.generateLifecycleEventDeliveryMethods(MetaClass entityType,
AnonymousClassStructureBuilder classBuilder,
List<MetaClass> globalEntityListeners)
Generates the event delivery methods for the given JPA Entity type.
|
Modifier and Type | Method and Description |
---|---|
Set<MetaClass> |
DefinitionsFactoryImpl.getArraySignatures() |
Set<MetaClass> |
DefinitionsFactory.getArraySignatures() |
Set<MetaClass> |
DefinitionsFactoryImpl.getExposedClasses() |
Set<MetaClass> |
DefinitionsFactory.getExposedClasses()
Returns a set of all exposed classes.
|
Modifier and Type | Method and Description |
---|---|
void |
MarshallerGeneratorFactory.addMarshaller(MetaClass type) |
void |
MarshallerGeneratorFactory.addOrMarkMarshallerUnlazy(MetaClass type) |
static BuildMetaClass |
MarshallerGeneratorFactory.createArrayMarshallerClass(MetaClass type) |
MappingDefinition |
DefinitionsFactoryImpl.getDefinition(MetaClass clazz) |
MappingDefinition |
DefinitionsFactory.getDefinition(MetaClass clazz)
Returns a definition for the specified
MetaClass reference. |
boolean |
DefinitionsFactoryImpl.hasBuiltInDefinition(MetaClass type) |
boolean |
DefinitionsFactory.hasBuiltInDefinition(MetaClass type) |
boolean |
DefinitionsFactoryImpl.hasDefinition(MetaClass clazz) |
boolean |
DefinitionsFactory.hasDefinition(MetaClass clazz)
Return true if a definition is registered for the specified
MetaClass |
boolean |
DefinitionsFactoryImpl.isExposedClass(MetaClass clazz) |
boolean |
DefinitionsFactory.isExposedClass(MetaClass clazz)
Returns true if the class is exposed for marshalling.
|
boolean |
MarshallerGeneratorFactory.reachable(MetaClass cls) |
boolean |
DefinitionsFactoryImpl.shouldUseObjectMarshaller(MetaClass type) |
boolean |
DefinitionsFactory.shouldUseObjectMarshaller(MetaClass type)
Returns true if the marshalling system should treat the given type as polymorphic.
|
Modifier and Type | Method and Description |
---|---|
Statement |
ArrayMarshallerCallback.deferred(MetaClass type,
MetaClass marshaller) |
Statement |
ArrayMarshallerCallback.demarshall(MetaClass type,
Statement value) |
boolean |
GeneratorMappingContext.isRendered(MetaClass metaClass) |
void |
GeneratorMappingContext.markRendered(MetaClass metaClass) |
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,
MetaClass fromType) |
Statement |
DefaultJavaMappingStrategy.fieldDemarshall(Mapping mapping,
MetaClass fromType) |
static MappingDefinition |
DefaultJavaDefinitionMapper.map(MetaClass toMap,
DefinitionsFactory definitionsFactory) |
void |
DefaultJavaMappingStrategy.marshallEnum(ContextualStatementBuilder bb,
Statement valueStatement,
MetaClass toType) |
void |
DefaultJavaMappingStrategy.marshallToJSON(BlockBuilder<?> builder,
MetaClass toType,
MappingDefinition definition,
ClassStructureBuilder classStructureBuilder,
BlockBuilder<?> initMethod) |
Statement |
DefaultJavaMappingStrategy.unwrapJSON(Statement valueStatement,
MetaClass toType,
MetaClass targetType) |
Constructor and Description |
---|
DefaultJavaMappingStrategy(boolean gwtTarget,
GeneratorMappingContext context,
MetaClass toMap) |
Modifier and Type | Method and Description |
---|---|
MetaClass |
InstantiationMapping.getMappingClass() |
MetaClass |
MappingDefinition.getMappingClass() |
MetaClass |
Mapping.getTargetType() |
MetaClass |
Mapping.getType() |
Modifier and Type | Method and Description |
---|---|
void |
Mapping.setMappingClass(MetaClass clazz) |
void |
InstantiationMapping.setMappingClass(MetaClass clazz) |
void |
Mapping.setType(MetaClass type) |
Constructor and Description |
---|
MappingDefinition(Marshaller<Object> marshaller,
MetaClass toMap,
boolean doNotGenerate) |
MappingDefinition(MetaClass toMap,
boolean doNotGenerate) |
Modifier and Type | Field and Description |
---|---|
protected MetaClass |
SimpleMapping.targetType |
protected MetaClass |
SimpleMapping.toMap |
protected MetaClass |
SimpleMapping.type |
Modifier and Type | Method and Description |
---|---|
MetaClass[] |
SimpleConstructorMapping.getConstructorParmTypes() |
MetaClass[] |
SimpleFactoryMapping.getConstructorParmTypes() |
MetaClass |
NoConstructMapping.getMappingClass() |
MetaClass |
SimpleConstructorMapping.getMappingClass() |
MetaClass |
SimpleFactoryMapping.getMappingClass() |
MetaClass |
SimpleMapping.getTargetType() |
MetaClass |
SimpleMapping.getType() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleConstructorMapping.mapParmToIndex(String parm,
int index,
MetaClass type) |
void |
SimpleFactoryMapping.mapParmToIndex(String parm,
int index,
MetaClass type) |
void |
WriteMapping.setMappingClass(MetaClass clazz) |
void |
NoConstructMapping.setMappingClass(MetaClass clazz) |
void |
SimpleConstructorMapping.setMappingClass(MetaClass toMap) |
void |
SimpleFactoryMapping.setMappingClass(MetaClass toMap) |
void |
SimpleMapping.setMappingClass(MetaClass clazz) |
void |
ReadMapping.setMappingClass(MetaClass clazz) |
void |
SimpleMapping.setType(MetaClass type) |
Constructor and Description |
---|
AccessorMapping(String key,
MetaClass type,
String setterMethod,
String getterMethod) |
ReadMapping(String key,
MetaClass type,
String getterMethod) |
SimpleMapping(String key,
MetaClass targetType) |
WriteMapping(String key,
MetaClass type,
String getterMethod) |
Modifier and Type | Method and Description |
---|---|
static MetaClass |
MarshallingGenUtil.getConcreteCollectionElementType(MetaClass toType)
Returns the element type of the given metaclass under the following conditions:
toType is a collection type
toType has a single type parameter
toType's type parameter is not a wildcard
toType's type parameter is a non-abstract (concrete) type
toType's type parameter is not java.lang.Object
|
static MetaClass |
MarshallingGenUtil.getConcreteElementType(MetaClass toType)
Returns the element type of the given metaclass under the following conditions:
toType has a single type parameter
toType's type parameter is not a wildcard
toType's type parameter is a non-abstract (concrete) type
toType's type parameter is not java.lang.Object
|
static MetaClass |
MarshallingGenUtil.getConcreteMapKeyType(MetaClass toType)
Returns the map key type of the given metaclass under the following conditions:
toType is a
Map
toType's key type is not a wildcard
toType's key type is a non-abstract (concrete) type
|
static MetaClass |
MarshallingGenUtil.getConcreteMapValueType(MetaClass toType)
Returns the map value type of the given metaclass under the following conditions:
toType is a
Map
toType's value type is not a wildcard
toType's value type is a non-abstract (concrete) type
|
Modifier and Type | Method and Description |
---|---|
static Collection<MetaClass> |
MarshallingGenUtil.getDefaultArrayMarshallers() |
Modifier and Type | Method and Description |
---|---|
static void |
MarshallingGenUtil.ensureMarshallerFieldCreated(ClassStructureBuilder<?> classStructureBuilder,
MetaClass marshallerForType,
MetaClass type,
BlockBuilder<?> initMethod) |
static void |
MarshallingGenUtil.ensureMarshallerFieldCreated(ClassStructureBuilder<?> classStructureBuilder,
MetaClass marshallerForType,
MetaClass type,
BlockBuilder<?> initMethod,
Statement marshallerCreationCallback) |
static MetaMethod |
MarshallingGenUtil.findGetterMethod(MetaClass cls,
String key) |
static MetaClass |
MarshallingGenUtil.getConcreteCollectionElementType(MetaClass toType)
Returns the element type of the given metaclass under the following conditions:
toType is a collection type
toType has a single type parameter
toType's type parameter is not a wildcard
toType's type parameter is a non-abstract (concrete) type
toType's type parameter is not java.lang.Object
|
static MetaClass |
MarshallingGenUtil.getConcreteElementType(MetaClass toType)
Returns the element type of the given metaclass under the following conditions:
toType has a single type parameter
toType's type parameter is not a wildcard
toType's type parameter is a non-abstract (concrete) type
toType's type parameter is not java.lang.Object
|
static MetaClass |
MarshallingGenUtil.getConcreteMapKeyType(MetaClass toType)
Returns the map key type of the given metaclass under the following conditions:
toType is a
Map
toType's key type is not a wildcard
toType's key type is a non-abstract (concrete) type
|
static MetaClass |
MarshallingGenUtil.getConcreteMapValueType(MetaClass toType)
Returns the map value type of the given metaclass under the following conditions:
toType is a
Map
toType's value type is not a wildcard
toType's value type is a non-abstract (concrete) type
|
static String |
MarshallingGenUtil.getVarName(MetaClass clazz) |
Constructor and Description |
---|
DefaultArrayMarshaller(MetaClass arrayType,
Marshaller<Object> outerMarshaller) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
NavigationGraphGenerator.isRelevantNewClass(MetaClass clazz) |
Modifier and Type | Method and Description |
---|---|
static Map<String,MetaClass> |
DataFieldCodeDecorator.aggregateDataFieldTypeMap(InjectableInstance<?> ctx,
MetaClass componentType)
Get the aggregate map of
DataField names and MetaClass
types for the given MetaClass component type and all ancestors
returned by getSuperClass() . |
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 getSuperClass() . |
static Map<String,MetaClass> |
DataFieldCodeDecorator.aggregateDataFieldTypeMap(InjectableInstance<?> ctx,
MetaClass componentType)
Get the aggregate map of
DataField names and MetaClass
types for the given MetaClass component type and all ancestors
returned by getSuperClass() . |
static String |
TemplatedCodeDecorator.getTemplateFileName(MetaClass type)
|
static String |
TemplatedCodeDecorator.getTemplateFragmentName(MetaClass type)
|
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.