T
- public class EnhancedAnnotatedMethodImpl<T,X> extends AbstractEnhancedAnnotatedCallable<T,X,Method> implements EnhancedAnnotatedMethod<T,X>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
Modifier and Type | Method and Description |
---|---|
Method |
getDelegate() |
List<EnhancedAnnotatedParameter<?,X>> |
getEnhancedParameters()
Gets the abstracted parameters of the method
|
List<EnhancedAnnotatedParameter<?,X>> |
getEnhancedParameters(Class<? extends Annotation> annotationType)
Get the parameters annotated with a given annotation type.
|
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
|
boolean |
isGeneric() |
static <T,X,Y extends X> |
of(AnnotatedMethod<X> annotatedMethod,
EnhancedAnnotatedType<Y> declaringClass,
ClassTransformer classTransformer) |
AnnotatedMethod<X> |
slim()
Returns a lightweight implementation of
AnnotatedMethod with minimal memory footprint. |
String |
toString()
Gets a string representation of the member
|
validateParameterCount
getDeclaringType, getJavaMember, getName, getPackage, isFinal, isPackagePrivate, isPrivate, isPublic, isStatic, isTransient
addMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDeclaringType
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
getJavaMember
isStatic
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
public static <T,X,Y extends X> EnhancedAnnotatedMethodImpl<T,X> of(AnnotatedMethod<X> annotatedMethod, EnhancedAnnotatedType<Y> declaringClass, ClassTransformer classTransformer)
public Method getDelegate()
getDelegate
in class AbstractEnhancedAnnotated<T,Method>
public List<EnhancedAnnotatedParameter<?,X>> getEnhancedParameters()
EnhancedAnnotatedCallable
getEnhancedParameters
in interface EnhancedAnnotatedCallable<T,X,Method>
public Class<?>[] getParameterTypesAsArray()
EnhancedAnnotatedMethod
getParameterTypesAsArray
in interface EnhancedAnnotatedMethod<T,X>
public List<EnhancedAnnotatedParameter<?,X>> getEnhancedParameters(Class<? extends Annotation> annotationType)
EnhancedAnnotatedMethod
getEnhancedParameters
in interface EnhancedAnnotatedCallable<T,X,Method>
getEnhancedParameters
in interface EnhancedAnnotatedMethod<T,X>
annotationType
- The annotation to matchpublic boolean isEquivalent(Method method)
EnhancedAnnotatedMethod
isEquivalent
in interface EnhancedAnnotatedMethod<T,X>
method
- The JLR methodpublic String getPropertyName()
EnhancedAnnotatedMethod
getPropertyName
in interface EnhancedAnnotatedMethod<T,X>
public String toString()
AbstractEnhancedAnnotatedMember
toString
in class AbstractEnhancedAnnotatedMember<T,X,Method>
public MethodSignature getSignature()
getSignature
in interface EnhancedAnnotatedMethod<T,X>
public List<AnnotatedParameter<X>> getParameters()
AnnotatedCallable
Get the parameters of the callable member.
getParameters
in interface AnnotatedCallable<X>
public boolean isGeneric()
isGeneric
in interface EnhancedAnnotated<T,Method>
public AnnotatedMethod<X> slim()
EnhancedAnnotatedMethod
AnnotatedMethod
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>
AnnotatedMethod
Copyright © 2015. All Rights Reserved.