public abstract class ForwardingWeldMethod<T,X> extends ForwardingWeldMember<T,X,java.lang.reflect.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() |
java.util.List<WeldParameter<?,X>> |
getAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType) |
java.lang.reflect.Method |
getJavaMember()
Get the underlying
Member. |
java.util.List<AnnotatedParameter<X>> |
getParameters()
Get the parameters of the callable member.
|
java.lang.Class<?>[] |
getParameterTypesAsArray()
Get the parameter types as an array
|
java.lang.String |
getPropertyName()
Gets the property name
|
MethodSignature |
getSignature() |
java.util.List<? extends WeldParameter<?,X>> |
getWeldParameters()
Gets the abstracted parameters of the method
|
java.util.List<WeldParameter<?,X>> |
getWeldParameters(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets the list of annotated parameters for a given annotation
|
T |
invoke(java.lang.Object instance,
java.lang.Object... parameters)
Invokes the method
|
T |
invokeOnInstance(java.lang.Object instance,
java.lang.Object... parameters)
Invokes the method on the class of the passed instance, not the declaring
class.
|
boolean |
isEquivalent(java.lang.reflect.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, isStaticisStaticgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentprotected abstract WeldMethod<T,X> delegate()
delegate in class ForwardingWeldMember<T,X,java.lang.reflect.Method>public java.util.List<WeldParameter<?,X>> getAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
public java.lang.Class<?>[] getParameterTypesAsArray()
WeldMethodgetParameterTypesAsArray in interface WeldMethod<T,X>public java.util.List<? extends WeldParameter<?,X>> getWeldParameters()
WeldCallablegetWeldParameters in interface WeldCallable<T,X,java.lang.reflect.Method>public java.lang.String getPropertyName()
WeldMethodgetPropertyName in interface WeldMethod<T,X>public T invoke(java.lang.Object instance, java.lang.Object... parameters) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
WeldMethodinvoke in interface WeldMethod<T,X>instance - The instance to invokeparameters - The method parametersjava.lang.IllegalArgumentExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionpublic T invokeOnInstance(java.lang.Object instance, java.lang.Object... parameters) throws java.lang.IllegalArgumentException, java.lang.SecurityException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException
WeldMethodinvokeOnInstance in interface WeldMethod<T,X>instance - The instance to invokejava.lang.IllegalArgumentExceptionjava.lang.SecurityExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.NoSuchMethodExceptionpublic boolean isEquivalent(java.lang.reflect.Method method)
WeldMethodisEquivalent in interface WeldMethod<T,X>method - The JLR methodpublic MethodSignature getSignature()
getSignature in interface WeldMethod<T,X>public java.util.List<WeldParameter<?,X>> getWeldParameters(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
WeldCallablegetWeldParameters in interface WeldCallable<T,X,java.lang.reflect.Method>metaAnnotationType - The annotation to matchpublic java.util.List<AnnotatedParameter<X>> getParameters()
AnnotatedCallableGet the parameters of the callable member.
getParameters in interface AnnotatedCallable<X>public java.lang.reflect.Method getJavaMember()
AnnotatedMemberGet the underlying Member.
getJavaMember in interface AnnotatedMember<X>getJavaMember in interface AnnotatedMethod<X>MemberCopyright © 2014 Seam Framework. All Rights Reserved.