public abstract class ForwardingWeldMethod<T,X> extends ForwardingWeldMember<T,X,Method> implements EnhancedAnnotatedMethod<T,X>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
Constructor and Description |
---|
ForwardingWeldMethod() |
Modifier and Type | Method and Description |
---|---|
protected abstract EnhancedAnnotatedMethod<T,X> |
delegate() |
List<EnhancedAnnotatedParameter<?,X>> |
getAnnotatedParameters(Class<? extends Annotation> metaAnnotationType) |
List<? extends EnhancedAnnotatedParameter<?,X>> |
getEnhancedParameters()
Gets the abstracted parameters of the method
|
List<EnhancedAnnotatedParameter<?,X>> |
getEnhancedParameters(Class<? extends Annotation> metaAnnotationType)
Get the parameters annotated with a given annotation type.
|
Method |
getJavaMember()
Get the underlying
Member . |
List<AnnotatedParameter<X>> |
getParameters()
Get the parameters of the callable member.
|
Class<?>[] |
getParameterTypesAsArray()
Get the parameter types as an array
|
String |
getPropertyName()
Gets the property name
|
MethodSignature |
getSignature() |
boolean |
isEquivalent(Method method)
Checks if a this is equivalent to a JLR method
|
AnnotatedMethod<X> |
slim()
Returns a lightweight implementation of
Annotated with minimal memory footprint. |
getDeclaringType
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
equals, getAnnotation, getAnnotations, getBaseType, getTypeClosure, hashCode, isAnnotationPresent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringType
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
isStatic
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
protected abstract EnhancedAnnotatedMethod<T,X> delegate()
delegate
in class ForwardingWeldMember<T,X,Method>
public List<EnhancedAnnotatedParameter<?,X>> getAnnotatedParameters(Class<? extends Annotation> metaAnnotationType)
public Class<?>[] getParameterTypesAsArray()
EnhancedAnnotatedMethod
getParameterTypesAsArray
in interface EnhancedAnnotatedMethod<T,X>
public List<? extends EnhancedAnnotatedParameter<?,X>> getEnhancedParameters()
EnhancedAnnotatedCallable
getEnhancedParameters
in interface EnhancedAnnotatedCallable<T,X,Method>
public String getPropertyName()
EnhancedAnnotatedMethod
getPropertyName
in interface EnhancedAnnotatedMethod<T,X>
public boolean isEquivalent(Method method)
EnhancedAnnotatedMethod
isEquivalent
in interface EnhancedAnnotatedMethod<T,X>
method
- The JLR methodpublic MethodSignature getSignature()
getSignature
in interface EnhancedAnnotatedMethod<T,X>
public List<EnhancedAnnotatedParameter<?,X>> getEnhancedParameters(Class<? extends Annotation> metaAnnotationType)
EnhancedAnnotatedMethod
getEnhancedParameters
in interface EnhancedAnnotatedCallable<T,X,Method>
getEnhancedParameters
in interface EnhancedAnnotatedMethod<T,X>
metaAnnotationType
- The annotation to matchpublic List<AnnotatedParameter<X>> getParameters()
AnnotatedCallable
Get the parameters of the callable member.
getParameters
in interface AnnotatedCallable<X>
public Method getJavaMember()
AnnotatedMember
Get the underlying Member
.
getJavaMember
in interface AnnotatedMember<X>
getJavaMember
in interface AnnotatedMethod<X>
Member
public AnnotatedMethod<X> slim()
EnhancedAnnotated
Annotated
with minimal memory footprint.slim
in interface EnhancedAnnotated<T,Method>
slim
in interface EnhancedAnnotatedCallable<T,X,Method>
slim
in interface EnhancedAnnotatedMember<T,X,Method>
slim
in interface EnhancedAnnotatedMethod<T,X>
slim
in class ForwardingWeldMember<T,X,Method>
Annotated
Copyright © 2013 Seam Framework. All Rights Reserved.