Interface EnhancedAnnotatedCallable<T,X,S extends Member>
-
- All Superinterfaces:
Annotated
,AnnotatedCallable<X>
,AnnotatedMember<X>
,EnhancedAnnotated<T,S>
,EnhancedAnnotatedMember<T,X,S>
- All Known Subinterfaces:
EnhancedAnnotatedConstructor<T>
,EnhancedAnnotatedMethod<T,X>
- All Known Implementing Classes:
AbstractEnhancedAnnotatedCallable
,EnhancedAnnotatedConstructorImpl
,EnhancedAnnotatedMethodImpl
public interface EnhancedAnnotatedCallable<T,X,S extends Member> extends EnhancedAnnotatedMember<T,X,S>, AnnotatedCallable<X>
- Author:
- pmuir
-
-
Field Summary
-
Fields inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotated
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends EnhancedAnnotatedParameter<?,X>>
getEnhancedParameters()
Gets the abstracted parameters of the methodList<EnhancedAnnotatedParameter<?,X>>
getEnhancedParameters(Class<? extends Annotation> annotationType)
Gets the list of annotated parameters for a given annotationAnnotatedCallable<X>
slim()
Returns a lightweight implementation ofAnnotatedCallable
with minimal memory footprint.-
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
-
Methods inherited from interface javax.enterprise.inject.spi.AnnotatedCallable
getParameters
-
Methods inherited from interface javax.enterprise.inject.spi.AnnotatedMember
getJavaMember, isStatic
-
Methods inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotated
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
-
Methods inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotatedMember
getDeclaringType
-
-
-
-
Method Detail
-
getEnhancedParameters
List<? extends EnhancedAnnotatedParameter<?,X>> getEnhancedParameters()
Gets the abstracted parameters of the method- Returns:
- A list of parameters. Returns an empty list if no parameters are present.
-
getEnhancedParameters
List<EnhancedAnnotatedParameter<?,X>> getEnhancedParameters(Class<? extends Annotation> annotationType)
Gets the list of annotated parameters for a given annotation- Parameters:
annotationType
- The annotation to match- Returns:
- A set of matching parameter abstractions. Returns an empty list if there are no matches.
-
slim
AnnotatedCallable<X> slim()
Returns a lightweight implementation ofAnnotatedCallable
with minimal memory footprint.- Specified by:
slim
in interfaceEnhancedAnnotated<T,X>
- Specified by:
slim
in interfaceEnhancedAnnotatedMember<T,X,S extends Member>
- Returns:
- the slim version of this
AnnotatedCallable
-
-