diff options
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/utils/AnnotationUtils.java')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/utils/AnnotationUtils.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/AnnotationUtils.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/AnnotationUtils.java index ed10b6ef86b..eb98a6ca8fd 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/AnnotationUtils.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/AnnotationUtils.java @@ -58,14 +58,4 @@ public final class AnnotationUtils { return null; } - - /** - * Searches for a class annotation. All inheritance tree is analysed. - * - * @deprecated As of 3.1, replaced by {@link #getAnnotation(Object,Class)} - */ - @Deprecated - public static <A> A getClassAnnotation(Object object, Class<A> annotationClass) { - return (A) getAnnotation(object, (Class<? extends Annotation>) annotationClass); - } } |