org.sonar.api.utils
Class AnnotationUtils
java.lang.Object
  
org.sonar.api.utils.AnnotationUtils
public final class AnnotationUtils
- extends Object
 
A utility class for annotations
- Since:
 
  - 1.11
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
getClassAnnotation
public static <A> A getClassAnnotation(Object object,
                                       Class<A> annotationClass)
- Searches for a class annotation. All inheritance tree is analysed.
 
 
Copyright © 2009-2010 SonarSource SA. All Rights Reserved.