|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.ao.AnnotationDelegate
public final class AnnotationDelegate
WARNING: Not part of the public API. This class is public only to allow its use within other packages in the ActiveObjects library.
| Method Summary | ||
|---|---|---|
|
getAnnotation(Class<T> annotationClass)
Returns the annotation for the specified methods starting by method1. |
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass)
Returns true if an annotation for the specified type is present on any of the methods, else false. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
method1.
annotationClass - the annotation type to look up
nullMethod.getAnnotation(Class)public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
false.
This method is designed primarily for convenient access to marker annotations.
annotationClass - the Class object corresponding to the annotation type
true if an annotation for the specified annotation type is present on any of the methods, else false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||