Class AnnotationUtils


  • public class AnnotationUtils
    extends java.lang.Object
    Checks metadata constraints on API calls.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Object[] findMethodAnnotations​(java.lang.Class implClass, java.lang.reflect.Method mthd)
      finds all parameter annotations for the given class including on all implemented interfaces.
      static java.lang.Object[] findParameterAnnotations​(java.lang.Class implClass, java.lang.reflect.Method mthd)
      finds all parameter annotations for the given class including on all implemented interfaces.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationUtils

        public AnnotationUtils()
    • Method Detail

      • findMethodAnnotations

        public static java.lang.Object[] findMethodAnnotations​(java.lang.Class implClass,
                                                               java.lang.reflect.Method mthd)
                                                        throws ome.conditions.InternalException
        finds all parameter annotations for the given class including on all implemented interfaces.
        Throws:
        ome.conditions.InternalException
      • findParameterAnnotations

        public static java.lang.Object[] findParameterAnnotations​(java.lang.Class implClass,
                                                                  java.lang.reflect.Method mthd)
                                                           throws ome.conditions.InternalException
        finds all parameter annotations for the given class including on all implemented interfaces.
        Throws:
        ome.conditions.InternalException