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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, isAnnotationPresentpublic <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 TraitCopyright © 2015. All Rights Reserved.