Class UnbackedAnnotatedMethod<X>
- java.lang.Object
-
- org.jboss.weld.annotated.slim.BaseAnnotated
-
- org.jboss.weld.annotated.slim.unbacked.UnbackedAnnotated
-
- org.jboss.weld.annotated.slim.unbacked.UnbackedAnnotatedMember<X>
-
- org.jboss.weld.annotated.slim.unbacked.UnbackedAnnotatedMethod<X>
-
- All Implemented Interfaces:
Annotated
,AnnotatedCallable<X>
,AnnotatedMember<X>
,AnnotatedMethod<X>
,Serializable
public class UnbackedAnnotatedMethod<X> extends UnbackedAnnotatedMember<X> implements AnnotatedMethod<X>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnbackedAnnotatedMethod(Type baseType, Set<Type> typeClosure, Set<Annotation> annotations, UnbackedAnnotatedType<X> declaringType, List<AnnotatedParameter<X>> originalParameters, Method method, SharedObjectCache cache)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Method
getJavaMember()
Get the underlyingMethod
.List<AnnotatedParameter<X>>
getParameters()
Get the parameters of the callable member.static <X,Y extends X>
AnnotatedMethod<X>of(AnnotatedMethod<X> originalMethod, UnbackedAnnotatedType<Y> declaringType, SharedObjectCache cache)
String
toString()
-
Methods inherited from class org.jboss.weld.annotated.slim.unbacked.UnbackedAnnotatedMember
getDeclaringType, isStatic
-
Methods inherited from class org.jboss.weld.annotated.slim.unbacked.UnbackedAnnotated
getAnnotation, getAnnotations, getTypeClosure, isAnnotationPresent
-
Methods inherited from class org.jboss.weld.annotated.slim.BaseAnnotated
getBaseType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
-
Methods inherited from interface jakarta.enterprise.inject.spi.AnnotatedMember
getDeclaringType, isStatic
-
Methods inherited from interface jakarta.enterprise.inject.spi.AnnotatedMethod
getAnnotations
-
-
-
-
Constructor Detail
-
UnbackedAnnotatedMethod
public UnbackedAnnotatedMethod(Type baseType, Set<Type> typeClosure, Set<Annotation> annotations, UnbackedAnnotatedType<X> declaringType, List<AnnotatedParameter<X>> originalParameters, Method method, SharedObjectCache cache)
-
-
Method Detail
-
of
public static <X,Y extends X> AnnotatedMethod<X> of(AnnotatedMethod<X> originalMethod, UnbackedAnnotatedType<Y> declaringType, SharedObjectCache cache)
-
getJavaMember
public Method getJavaMember()
Description copied from interface:AnnotatedMethod
Get the underlying
Method
.- Specified by:
getJavaMember
in interfaceAnnotatedMember<X>
- Specified by:
getJavaMember
in interfaceAnnotatedMethod<X>
- Returns:
- the
Method
-
getParameters
public List<AnnotatedParameter<X>> getParameters()
Description copied from interface:AnnotatedCallable
Get the parameters of the callable member.
- Specified by:
getParameters
in interfaceAnnotatedCallable<X>
- Returns:
- the parameters
-
-