public abstract class AbstractMethod
extends java.lang.Object
implements java.lang.reflect.AnnotatedElement
Constructor and Description |
---|
AbstractMethod(AbstractResource resource,
java.lang.reflect.Method method,
java.lang.annotation.Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
java.lang.reflect.Method |
getMethod() |
AbstractResource |
getResource() |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
public AbstractMethod(AbstractResource resource, java.lang.reflect.Method method, java.lang.annotation.Annotation[] annotations)
public AbstractResource getResource()
public java.lang.reflect.Method getMethod()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
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> annotationType)
isAnnotationPresent
in interface java.lang.reflect.AnnotatedElement
Copyright © 2016 Oracle Corporation. All Rights Reserved.