T - public class WeldMethodImpl<T,X> extends AbstractWeldCallable<T,X,Method> implements WeldMethod<T,X>
MAPPED_PARAMETER_ANNOTATIONSMAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS| Modifier and Type | Method and Description |
|---|---|
Method |
getDelegate() |
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<WeldParameter<?,X>> |
getWeldParameters()
Gets the abstracted parameters of the method
|
List<WeldParameter<?,X>> |
getWeldParameters(Class<? extends Annotation> annotationType)
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
|
boolean |
isGeneric() |
static <T,X> WeldMethodImpl<T,X> |
of(javax.enterprise.inject.spi.AnnotatedMethod<? super X> method,
WeldClass<X> declaringClass,
ClassTransformer classTransformer) |
static <T,X> WeldMethodImpl<T,X> |
of(Method method,
WeldClass<X> declaringClass,
ClassTransformer classTransformer) |
String |
toString()
Gets a string representation of the member
|
getDeclaringType, getJavaMember, getName, getPackage, isFinal, isPackagePrivate, isPrivate, isPublic, isStatic, isTransientaddMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDeclaringTypegetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStaticpublic static <T,X> WeldMethodImpl<T,X> of(Method method, WeldClass<X> declaringClass, ClassTransformer classTransformer)
public static <T,X> WeldMethodImpl<T,X> of(javax.enterprise.inject.spi.AnnotatedMethod<? super X> method, WeldClass<X> declaringClass, ClassTransformer classTransformer)
public Method getDelegate()
getDelegate in class AbstractWeldAnnotated<T,Method>public List<WeldParameter<?,X>> getWeldParameters()
WeldCallablegetWeldParameters in interface WeldCallable<T,X,Method>public Class<?>[] getParameterTypesAsArray()
WeldMethodgetParameterTypesAsArray in interface WeldMethod<T,X>public List<WeldParameter<?,X>> getWeldParameters(Class<? extends Annotation> annotationType)
WeldCallablegetWeldParameters in interface WeldCallable<T,X,Method>annotationType - The annotation to matchpublic boolean isEquivalent(Method method)
WeldMethodisEquivalent in interface WeldMethod<T,X>method - The JLR methodpublic T invokeOnInstance(Object instance, Object... parameters) throws IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
WeldMethodinvokeOnInstance in interface WeldMethod<T,X>instance - The instance to invokeIllegalArgumentExceptionSecurityExceptionIllegalAccessExceptionInvocationTargetExceptionNoSuchMethodExceptionpublic T invoke(Object instance, Object... parameters) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
WeldMethodinvoke in interface WeldMethod<T,X>instance - The instance to invokeparameters - The method parametersIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic String getPropertyName()
WeldMethodgetPropertyName in interface WeldMethod<T,X>public String toString()
AbstractWeldMembertoString in class AbstractWeldMember<T,X,Method>public MethodSignature getSignature()
getSignature in interface WeldMethod<T,X>public List<javax.enterprise.inject.spi.AnnotatedParameter<X>> getParameters()
getParameters in interface javax.enterprise.inject.spi.AnnotatedCallable<X>public boolean isGeneric()
isGeneric in interface WeldAnnotated<T,Method>Copyright © 2014 Seam Framework. All Rights Reserved.