public abstract class AbstractMethod extends Object implements AnnotatedElement
Constructor and Description |
---|
AbstractMethod(AbstractResource resource,
Method method,
Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
Method |
getMethod() |
AbstractResource |
getResource() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType) |
public AbstractMethod(AbstractResource resource, Method method, Annotation[] annotations)
public AbstractResource getResource()
public Method getMethod()
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation
in interface AnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface AnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent
in interface AnnotatedElement
Copyright © 2013 Oracle Corporation. All rights reserved.