Interface EnhancedAnnotatedCallable<T,X,S extends Member>
- All Superinterfaces:
jakarta.enterprise.inject.spi.Annotated,jakarta.enterprise.inject.spi.AnnotatedCallable<X>,jakarta.enterprise.inject.spi.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>, jakarta.enterprise.inject.spi.AnnotatedCallable<X>
- Author:
- pmuir
-
Field Summary
Fields inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotated
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS -
Method Summary
Modifier and TypeMethodDescriptionList<? extends EnhancedAnnotatedParameter<?,X>> Gets the abstracted parameters of the methodgetEnhancedParameters(Class<? extends Annotation> annotationType) Gets the list of annotated parameters for a given annotationjakarta.enterprise.inject.spi.AnnotatedCallable<X>slim()Returns a lightweight implementation ofAnnotatedCallablewith minimal memory footprint.Methods inherited from interface jakarta.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentMethods inherited from interface jakarta.enterprise.inject.spi.AnnotatedCallable
getParametersMethods inherited from interface jakarta.enterprise.inject.spi.AnnotatedMember
getJavaMember, isStaticMethods inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotated
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStaticMethods inherited from interface org.jboss.weld.annotated.enhanced.EnhancedAnnotatedMember
getDeclaringType
-
Method Details
-
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
jakarta.enterprise.inject.spi.AnnotatedCallable<X> slim()Returns a lightweight implementation ofAnnotatedCallablewith minimal memory footprint.- Specified by:
slimin interfaceEnhancedAnnotated<T,X> - Specified by:
slimin interfaceEnhancedAnnotatedMember<T,X, S extends Member> - Returns:
- the slim version of this
AnnotatedCallable
-