public abstract class ForwardingWeldMethod<T,X> extends ForwardingWeldMember<T,X,Method> implements WeldMethod<T,X>
MAPPED_PARAMETER_ANNOTATIONSMAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS| Constructor and Description |
|---|
ForwardingWeldMethod() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract WeldMethod<T,X> |
delegate() |
List<WeldParameter<?,X>> |
getAnnotatedParameters(Class<? extends Annotation> metaAnnotationType) |
Method |
getJavaMember() |
List<javax.enterprise.inject.spi.AnnotatedParameter<X>> |
getParameters() |
Class<?>[] |
getParameterTypesAsArray()
Get the parameter types as an array
|
String |
getPropertyName()
Gets the property name
|
MethodSignature |
getSignature() |
List<? extends WeldParameter<?,X>> |
getWeldParameters()
Gets the abstracted parameters of the method
|
List<WeldParameter<?,X>> |
getWeldParameters(Class<? extends Annotation> metaAnnotationType)
Gets the list of annotated parameters for a given annotation
|
T |
invoke(Object instance,
Object... parameters)
Invokes the method
|
T |
invokeOnInstance(Object instance,
Object... parameters)
Invokes the method on the class of the passed instance, not the declaring
class.
|
boolean |
isEquivalent(Method method)
Checks if a this is equivalent to a JLR method
|
getDeclaringTypegetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStaticequals, getAnnotation, getAnnotations, getBaseType, getTypeClosure, hashCode, isAnnotationPresent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclaringTypegetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStaticprotected abstract WeldMethod<T,X> delegate()
delegate in class ForwardingWeldMember<T,X,Method>public List<WeldParameter<?,X>> getAnnotatedParameters(Class<? extends Annotation> metaAnnotationType)
public Class<?>[] getParameterTypesAsArray()
WeldMethodgetParameterTypesAsArray in interface WeldMethod<T,X>public List<? extends WeldParameter<?,X>> getWeldParameters()
WeldCallablegetWeldParameters in interface WeldCallable<T,X,Method>public String getPropertyName()
WeldMethodgetPropertyName in interface WeldMethod<T,X>public T invoke(Object instance, Object... parameters) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
WeldMethodinvoke in interface WeldMethod<T,X>instance - The instance to invokeparameters - The method parametersIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic T invokeOnInstance(Object instance, Object... parameters) throws IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
WeldMethodinvokeOnInstance in interface WeldMethod<T,X>instance - The instance to invokeIllegalArgumentExceptionSecurityExceptionIllegalAccessExceptionInvocationTargetExceptionNoSuchMethodExceptionpublic boolean isEquivalent(Method method)
WeldMethodisEquivalent in interface WeldMethod<T,X>method - The JLR methodpublic MethodSignature getSignature()
getSignature in interface WeldMethod<T,X>public List<WeldParameter<?,X>> getWeldParameters(Class<? extends Annotation> metaAnnotationType)
WeldCallablegetWeldParameters in interface WeldCallable<T,X,Method>metaAnnotationType - The annotation to matchpublic List<javax.enterprise.inject.spi.AnnotatedParameter<X>> getParameters()
getParameters in interface javax.enterprise.inject.spi.AnnotatedCallable<X>Copyright © 2014 Seam Framework. All Rights Reserved.