|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.common.reflect.Parameter
@Beta public final class Parameter
Represents a method or constructor parameter.
| Method Summary | ||
|---|---|---|
boolean |
equals(java.lang.Object obj)
|
|
|
getAnnotation(java.lang.Class<A> annotationType)
|
|
java.lang.annotation.Annotation[] |
getAnnotations()
|
|
java.lang.annotation.Annotation[] |
getDeclaredAnnotations()
|
|
Invokable<?,?> |
getDeclaringInvokable()
Returns the Invokable that declares this parameter. |
|
TypeToken<?> |
getType()
Returns the type of the parameter. |
|
int |
hashCode()
|
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
|
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public TypeToken<?> getType()
public Invokable<?,?> getDeclaringInvokable()
Invokable that declares this parameter.
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isAnnotationPresent in interface java.lang.reflect.AnnotatedElement@Nullable public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)
getAnnotation in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElement
public boolean equals(@Nullable
java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||