protected static class MethodActionStyle.MethodAction extends BaseTrait implements Action
Constructor and Description |
---|
MethodActionStyle.MethodAction(String name,
Method method) |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotation)
Returns this element's annotation for the specified type if such an annotation is present,
else null.
|
getName, isAnnotationPresent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, isAnnotationPresent
public <T extends Annotation> T getAnnotation(Class<T> annotation)
Trait
Note: for subclasses, whether anything is returned for annotations defined by the superclass
is decided by the java.lang.annotation.Inherited
annotation.
getAnnotation
in interface Trait
Copyright © 2015. All Rights Reserved.