Modifier and Type | Method and Description |
---|---|
static DefParameters |
DefParameters.from(MetaMethod method) |
static DefParameters |
DefParameters.from(MetaMethod method,
Parameter... parms) |
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.
|
Collection<Statement> |
ProxyMaker.getAfterStatements(MetaMethod method) |
Collection<Statement> |
ProxyMaker.getAroundInvokeStatements(MetaMethod method) |
Collection<Statement> |
ProxyMaker.getBeforeStatements(MetaMethod method) |
boolean |
Context.isInScope(MetaMethod method)
Checks is the given
MetaMethod is in scope (part of the attached class contexts). |
Modifier and Type | Method and Description |
---|---|
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 |
---|
MethodInvocation(CallWriter writer,
MetaClass inputType,
MetaMethod method,
CallParameters callParameters) |
Modifier and Type | Method and Description |
---|---|
ContextualStatementBuilder |
ContextualStatementBuilder.invoke(MetaMethod method,
Object... parameters) |
Modifier and Type | Method and Description |
---|---|
ContextualStatementBuilder |
ContextualStatementBuilderImpl.invoke(MetaMethod method,
Object... parameters) |
Modifier and Type | Class and Description |
---|---|
class |
MetaConstructor |
Modifier and Type | Method and Description |
---|---|
static MetaMethod |
MetaClassFactory.get(Method method) |
abstract MetaMethod |
MetaClass.getBestMatchingMethod(String name,
Class... parameters) |
abstract MetaMethod |
MetaClass.getBestMatchingMethod(String name,
MetaClass... parameters) |
abstract MetaMethod |
MetaClass.getBestMatchingStaticMethod(String name,
Class... parameters) |
abstract MetaMethod |
MetaClass.getBestMatchingStaticMethod(String name,
MetaClass... parameters) |
abstract MetaMethod |
MetaClass.getDeclaredMethod(String name,
Class... parameters) |
abstract MetaMethod |
MetaClass.getDeclaredMethod(String name,
MetaClass... parameters) |
abstract MetaMethod[] |
MetaClass.getDeclaredMethods() |
abstract MetaMethod |
MetaClass.getMethod(String name,
Class... parameters) |
abstract MetaMethod |
MetaClass.getMethod(String name,
MetaClass... parameters) |
abstract MetaMethod[] |
MetaClass.getMethods()
Returns all declared and inherited public, protected, and package-private methods
available on this class.
|
MetaMethod |
BeanDescriptor.getReadMethodForProperty(String propertyName) |
MetaMethod |
BeanDescriptor.getWriteMethodForProperty(String propertyName) |
Modifier and Type | Method and Description |
---|---|
abstract List<MetaMethod> |
MetaClass.getMethodsAnnotatedWith(Class<? extends Annotation> annotation)
Returns all declared and inherited methods on this class that have the
given annotation targeting them.
|
abstract List<MetaMethod> |
MetaClass.getMethodsWithMetaAnnotations(Class<? extends Annotation> annotation) |
Modifier and Type | Method and Description |
---|---|
protected static MetaMethod |
AbstractMetaClass._getMethod(MetaMethod[] methods,
String name,
MetaClass... parmTypes) |
MetaMethod |
AbstractMetaClass.getBestMatchingMethod(String name,
Class... parameters) |
MetaMethod |
AbstractMetaClass.getBestMatchingMethod(String name,
MetaClass... parameters) |
MetaMethod |
AbstractMetaClass.getBestMatchingStaticMethod(String name,
Class... parameters) |
MetaMethod |
AbstractMetaClass.getBestMatchingStaticMethod(String name,
MetaClass... parameters) |
MetaMethod |
AbstractMetaClass.getDeclaredMethod(String name,
Class... parmTypes) |
MetaMethod |
AbstractMetaClass.getDeclaredMethod(String name,
MetaClass... parmTypes) |
MetaMethod |
AbstractMetaClass.getMethod(String name,
Class... parmTypes) |
MetaMethod |
AbstractMetaClass.getMethod(String name,
MetaClass... parameters) |
Modifier and Type | Method and Description |
---|---|
List<MetaMethod> |
AbstractMetaClass.getMethodsAnnotatedWith(Class<? extends Annotation> annotation) |
List<MetaMethod> |
AbstractMetaClass.getMethodsWithMetaAnnotations(Class<? extends Annotation> annotation) |
Modifier and Type | Method and Description |
---|---|
protected static MetaMethod |
AbstractMetaClass._getMethod(MetaMethod[] methods,
String name,
MetaClass... parmTypes) |
Modifier and Type | Class and Description |
---|---|
class |
BuildMetaConstructor |
class |
BuildMetaMethod |
class |
ShadowBuildMetaMethod |
Modifier and Type | Method and Description |
---|---|
MetaMethod |
BuildMetaClass.getBestMatchingMethod(String name,
Class... parameters) |
MetaMethod |
BuildMetaClass.getBestMatchingMethod(String name,
MetaClass... parameters) |
MetaMethod |
BuildMetaClass.getBestMatchingStaticMethod(String name,
Class... parameters) |
MetaMethod |
BuildMetaClass.getBestMatchingStaticMethod(String name,
MetaClass... parameters) |
MetaMethod[] |
BuildMetaClass.getDeclaredMethods() |
MetaMethod[] |
BuildMetaClass.getMethods() |
MetaMethod |
BuildMetaMethod.getReifiedFormOf() |
Modifier and Type | Method and Description |
---|---|
void |
BuildMetaMethod.setReifiedFormOf(MetaMethod reifiedFormOf) |
Constructor and Description |
---|
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 |
GWTConstructor |
class |
GWTMethod |
class |
GWTSpecialMethod |
Modifier and Type | Method and Description |
---|---|
MetaMethod[] |
GWTClass.getDeclaredMethods() |
MetaMethod[] |
GWTClass.getMethods() |
Modifier and Type | Class and Description |
---|---|
class |
JavaReflectionConstructor |
class |
JavaReflectionMethod |
Modifier and Type | Method and Description |
---|---|
MetaMethod[] |
JavaReflectionClass.getDeclaredMethods() |
MetaMethod[] |
JavaReflectionClass.getMethods() |
Modifier and Type | Method and Description |
---|---|
static MetaMethod |
GenUtil.findCaseInsensitiveMatch(MetaClass retType,
MetaClass clazz,
String name,
MetaClass... parms) |
static MetaMethod |
GenUtil.getBestCandidate(MetaClass[] arguments,
String method,
MetaClass decl,
MetaMethod[] methods,
boolean classTarget) |
Modifier and Type | Method and Description |
---|---|
static void |
PrivateAccessUtil.addPrivateAccessStubs(String accessorType,
ClassStructureBuilder<?> classBuilder,
MetaMethod m)
Generates methods for accessing a nonpublic method using either JSNI or
Java Reflection.
|
static void |
PrivateAccessUtil.addPrivateAccessStubs(String accessorType,
ClassStructureBuilder<?> classBuilder,
MetaMethod m,
Modifier[] modifiers)
Generates methods for accessing a nonpublic method using either JSNI or Java
Reflection.
|
static String |
ProxyUtil.createCallSignature(MetaMethod m) |
static boolean |
GenUtil.equals(MetaMethod a,
MetaMethod b) |
static Statement[] |
GenUtil.generateCallParameters(MetaMethod method,
Context context,
Object... parameters) |
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 Statement |
ProxyUtil.generateProxyMethodReturnStatement(MetaMethod method)
Generates a valid return statement for the provided method.
|
static MetaMethod |
GenUtil.getBestCandidate(MetaClass[] arguments,
String method,
MetaClass decl,
MetaMethod[] methods,
boolean classTarget) |
List<Class<?>> |
ProxyUtil.InterceptorProvider.getInterceptors(MetaClass type,
MetaMethod method)
Returns the interceptors for the provided proxy type and method.
|
static String |
GenUtil.getMethodString(MetaMethod method) |
static String |
PrivateAccessUtil.getPrivateMethodName(MetaMethod method) |
static String |
ReflectionPrivateMemberAccessor.initCachedMethod(ClassStructureBuilder<?> classBuilder,
MetaMethod m) |
void |
GWTPrivateMemberAccessor.makeMethodAccessible(ClassStructureBuilder<?> classBuilder,
MetaMethod method,
Modifier[] modifiers) |
void |
PrivateMemberAccessor.makeMethodAccessible(ClassStructureBuilder<?> classBuilder,
MetaMethod field,
Modifier[] modifiers) |
void |
ReflectionPrivateMemberAccessor.makeMethodAccessible(ClassStructureBuilder<?> classBuilder,
MetaMethod method,
Modifier[] modifiers) |
static String |
JSNIUtil.methodAccess(MetaMethod method) |
static boolean |
ProxyUtil.shouldProxyMethod(MetaMethod method) |
Modifier and Type | Method and Description |
---|---|
static Collection<MetaMethod> |
ClassScanner.getMethodsAnnotatedWith(Class<? extends Annotation> annotation,
Set<String> packages,
com.google.gwt.core.ext.GeneratorContext genCtx) |
Modifier and Type | Method and Description |
---|---|
MetaMethod |
JaxrsResourceMethod.getMethod() |
Modifier and Type | Method and Description |
---|---|
static Statement |
JaxrsGwtRequestMethodMapper.fromMethod(MetaMethod method)
Searches for
HttpMethod annotations on the provided method and
returns the corresponding GWT RequestBuilder method. |
static JaxrsResourceMethodParameters |
JaxrsResourceMethodParameters.fromMethod(MetaMethod method) |
static JaxrsHeaders |
JaxrsHeaders.fromMethod(MetaMethod method)
Generates HTTP headers based on the JAX-RS annotations on the provided method.
|
static JaxrsResourceMethodParameters |
JaxrsResourceMethodParameters.fromMethod(MetaMethod method,
List<? extends Statement> parameterValues) |
static JaxrsResourceMethodParameters |
JaxrsResourceMethodParameters.fromMethod(MetaMethod method,
String parameterArrayVarName) |
Constructor and Description |
---|
JaxrsResourceMethod(MetaMethod method,
JaxrsHeaders headers,
String rootResourcePath) |
Modifier and Type | Method and Description |
---|---|
MetaMethod |
UnsatisfiedMethod.getMethod() |
Modifier and Type | Method and Description |
---|---|
static UnsatisfiedDependenciesException |
UnsatisfiedDependenciesException.createWithSingleMethodFailure(MetaMethod method,
MetaClass enclosingType,
MetaClass injectedType,
String message) |
Constructor and Description |
---|
UnsatisfiedMethod(MetaMethod method,
MetaClass enclosingType,
MetaClass injectedType,
String message) |
Modifier and Type | Method and Description |
---|---|
Collection<MetaMethod> |
InjectUtil.BeanMetric.getMethodInjectors() |
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> |
AbstractInjector.getWeavingStatements() |
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> |
AbstractInjector.getWeavingStatementsMap() |
static List<MetaMethod> |
InjectUtil.scanForAnnotatedMethod(MetaClass type,
Class<? extends Annotation> annotationType) |
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) |
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,
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) |
Modifier and Type | Field and Description |
---|---|
protected MetaMethod |
AsyncInjectionTask.method |
protected MetaMethod |
InjectionTask.method |
protected MetaMethod |
InjectionPoint.method |
Modifier and Type | Method and Description |
---|---|
MetaMethod |
InjectionPoint.getMethod() |
Modifier and Type | Method and Description |
---|---|
Collection<MetaMethod> |
InjectionContext.getPrivateMethodsToExpose() |
Modifier and Type | Method and Description |
---|---|
void |
InjectionContext.addExposedMethod(MetaMethod method) |
void |
InjectionContext.declareOverridden(MetaMethod method) |
static <T extends Annotation> |
InjectableInstance.getMethodInjectedInstance(MetaMethod method,
Injector injector,
InjectionContext context) |
boolean |
InjectionContext.isOverridden(MetaMethod method) |
Constructor and Description |
---|
AsyncDecoratorTask(Injector injector,
MetaMethod method,
IOCDecoratorExtension[] decs) |
AsyncInjectionTask(Injector injector,
MetaMethod method) |
DecoratorTask(Injector injector,
MetaMethod method,
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,
MetaMethod method) |
Modifier and Type | Method and Description |
---|---|
MetaMethod |
FactoryMapping.getMember() |
Modifier and Type | Method and Description |
---|---|
MetaMethod |
SimpleFactoryMapping.getMember() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleFactoryMapping.setMethod(MetaMethod method) |
Modifier and Type | Method and Description |
---|---|
static MetaMethod |
MarshallingGenUtil.findGetterMethod(MetaClass cls,
String key) |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.