|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.utils.AnnotationUtils
public final class AnnotationUtils
A utility class for annotations
| Method Summary | ||
|---|---|---|
static
|
getAnnotation(Object objectOrClass,
Class<A> annotationClass)
Searches for a class annotation. |
|
static
|
getClassAnnotation(Object object,
Class<A> annotationClass)
Deprecated. As of 3.1, replaced by getAnnotation(Object,Class) |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <A extends Annotation> A getAnnotation(Object objectOrClass,
Class<A> annotationClass)
@Deprecated
public static <A> A getClassAnnotation(Object object,
Class<A> annotationClass)
getAnnotation(Object,Class)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||