java.lang.reflect.AnnotatedElement
public abstract class Parameter<E extends java.lang.reflect.Member>
extends java.lang.Object
implements java.lang.reflect.AnnotatedElement
Modifier and Type | Method | Description |
---|---|---|
static <T> Parameter<java.lang.reflect.Constructor<T>> |
declaredBy(java.lang.reflect.Constructor<T> ctor,
int index) |
|
static Parameter<java.lang.reflect.Method> |
declaredBy(java.lang.reflect.Method method,
int index) |
|
boolean |
equals(java.lang.Object o) |
|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
|
java.lang.annotation.Annotation[] |
getAnnotations() |
|
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
|
E |
getDeclaringExecutable() |
|
int |
getIndex() |
|
protected abstract java.lang.annotation.Annotation[][] |
getParameterAnnotations() |
|
int |
hashCode() |
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
|
java.lang.String |
toString() |
public E getDeclaringExecutable()
public int getIndex()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation
in interface java.lang.reflect.AnnotatedElement
public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations
in interface java.lang.reflect.AnnotatedElement
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface java.lang.reflect.AnnotatedElement
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
isAnnotationPresent
in interface java.lang.reflect.AnnotatedElement
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
protected abstract java.lang.annotation.Annotation[][] getParameterAnnotations()
public static <T> Parameter<java.lang.reflect.Constructor<T>> declaredBy(java.lang.reflect.Constructor<T> ctor, int index)
public static Parameter<java.lang.reflect.Method> declaredBy(java.lang.reflect.Method method, int index)
Copyright © 2005–2018. All rights reserved.