Java Reflection Annotation getAnnotationsOf(Class annoClass)

Here you can find the source of getAnnotationsOf(Class annoClass)

Description

get Annotations Of

License

Open Source License

Declaration

public static Annotation[] getAnnotationsOf(Class annoClass) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.lang.annotation.Annotation;

public class Main {
    public static Annotation[] getAnnotationsOf(Class annoClass) {
        return annoClass.getAnnotations();
    }//from  ww w. j  a va  2s .c o m
}

Related

  1. getAnnotations(Method method)
  2. getAnnotations(Method method)
  3. getAnnotations(Method method)
  4. getAnnotations(Object instance)
  5. getAnnotations(Set fields, Set methods)
  6. getAnnotationsRecursive(Class clazz)
  7. getAnnotationsRecursive(final Class type, final Class annotationType)
  8. getAnnotationValue(@Nonnull Class cls, @Nonnull Class annotation, V def)
  9. getAnnotationValue(Annotation annotation, String attributeName)