@Module public class AnnotatedMethodImpl<T> extends AnnotatedElementImpl implements AnnotatedMethod<T>
Constructor and Description |
---|
AnnotatedMethodImpl(AnnotatedType<T> declaringType,
Annotated annotated,
java.lang.reflect.Method method) |
AnnotatedMethodImpl(AnnotatedType<T> declaringType,
Annotated annotated,
java.lang.reflect.Method method,
java.lang.annotation.Annotation[] annotations,
java.util.HashMap<java.lang.String,BaseType> paramMap) |
AnnotatedMethodImpl(java.lang.reflect.Method method) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
protected void |
fillTypeVariables(java.util.Set<VarType<?>> typeVariables) |
AnnotatedType<T> |
getDeclaringType()
Returns the declaring type
|
java.lang.reflect.Method |
getJavaMember()
Returns the reflected Method
|
java.util.List<AnnotatedParameter<T>> |
getParameters()
Returns the constructor parameters
|
int |
hashCode() |
static boolean |
isMatch(java.lang.reflect.Method methodA,
java.lang.reflect.Method methodB) |
boolean |
isStatic()
Returns true for a static field/method
|
java.lang.String |
toString() |
addAnalysisAnnotation, addAnnotation, addAnnotationIfAbsent, addAnnotations, addAnnotations, addOverrideAnnotation, clearAnnotations, createBaseType, createBaseType, createBaseType, createBaseType, createBaseType, createBaseType, createBaseType, getAnalysisAnnotation, getAnnotation, getAnnotations, getBaseType, getBaseTypeImpl, getBaseTypeParamMap, getTypeClosure, getTypeVariables, isAnnotationPresent, removeAnnotation
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
public AnnotatedMethodImpl(java.lang.reflect.Method method)
public AnnotatedMethodImpl(AnnotatedType<T> declaringType, Annotated annotated, java.lang.reflect.Method method)
public AnnotatedMethodImpl(AnnotatedType<T> declaringType, Annotated annotated, java.lang.reflect.Method method, java.lang.annotation.Annotation[] annotations, java.util.HashMap<java.lang.String,BaseType> paramMap)
public AnnotatedType<T> getDeclaringType()
AnnotatedMember
getDeclaringType
in interface AnnotatedMember<T>
public java.lang.reflect.Method getJavaMember()
getJavaMember
in interface AnnotatedMember<T>
getJavaMember
in interface AnnotatedMethod<T>
public java.util.List<AnnotatedParameter<T>> getParameters()
getParameters
in interface AnnotatedCallable<T>
public boolean isStatic()
AnnotatedMember
isStatic
in interface AnnotatedMember<T>
protected void fillTypeVariables(java.util.Set<VarType<?>> typeVariables)
fillTypeVariables
in class AnnotatedElementImpl
public static boolean isMatch(java.lang.reflect.Method methodA, java.lang.reflect.Method methodB)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class AnnotatedElementImpl