public abstract class AnnotatedWithParams extends AnnotatedMember
Modifier and Type | Method and Description |
---|---|
void |
addOrOverrideParam(int paramIndex,
java.lang.annotation.Annotation a)
Method called to override a method parameter annotation,
usually due to a mix-in
annotation masking or overriding an annotation 'real' method
has.
|
abstract java.lang.Object |
call()
Method that can be used to (try to) call this object without arguments.
|
abstract java.lang.Object |
call(java.lang.Object[] args)
Method that can be used to (try to) call this object with specified arguments.
|
abstract java.lang.Object |
call1(java.lang.Object arg)
Method that can be used to (try to) call this object with single arguments.
|
int |
getAnnotationCount() |
abstract java.lang.reflect.Type |
getGenericParameterType(int index)
Deprecated.
Since 2.7, remove in 2.9
|
AnnotatedParameter |
getParameter(int index) |
AnnotationMap |
getParameterAnnotations(int index) |
abstract int |
getParameterCount() |
abstract JavaType |
getParameterType(int index) |
abstract java.lang.Class<?> |
getRawParameterType(int index) |
annotations, fixAccess, getAllAnnotations, getAnnotation, getDeclaringClass, getFullName, getMember, getTypeContext, getValue, hasAnnotation, hasOneOf, setValue, withAnnotations
equals, getAnnotated, getGenericType, getName, getRawType, getType, getType, hashCode, isPublic, toString
public final void addOrOverrideParam(int paramIndex, java.lang.annotation.Annotation a)
public final AnnotationMap getParameterAnnotations(int index)
public final AnnotatedParameter getParameter(int index)
public abstract int getParameterCount()
public abstract java.lang.Class<?> getRawParameterType(int index)
public abstract JavaType getParameterType(int index)
@Deprecated public abstract java.lang.reflect.Type getGenericParameterType(int index)
public final int getAnnotationCount()
public abstract java.lang.Object call() throws java.lang.Exception
Note: only works for constructors and static methods.
java.lang.Exception
public abstract java.lang.Object call(java.lang.Object[] args) throws java.lang.Exception
Note: only works for constructors and static methods.
java.lang.Exception
public abstract java.lang.Object call1(java.lang.Object arg) throws java.lang.Exception
Note: only works for constructors and static methods.
java.lang.Exception
Copyright © 2010 - 2020 Adobe. All Rights Reserved