Class AnnotationInfo

    • Field Detail

      • scanResult

        protected transient ScanResult scanResult
    • Method Detail

      • getName

        public String getName()
        Returns:
        The name of the annotation class.
      • isInherited

        public boolean isInherited()
        Returns:
        true if this annotation is meta-annotated with Inherited.
      • getDefaultParameterValues

        public AnnotationParameterValueList getDefaultParameterValues()
        Returns:
        the list of default parameter values for this annotation, or the empty list if none.
      • getParameterValues

        public AnnotationParameterValueList getParameterValues()
        Returns:
        The parameter values of this annotation, including any default parameter values inherited from the annotation class definition, or the empty list if none.
      • getClassName

        protected String getClassName()
        Return the name of the annotation class, for getClassInfo().
        Returns:
        The class name.
      • getClassInfo

        public ClassInfo getClassInfo()
        Returns:
        The ClassInfo object for the annotation class.
      • loadClassAndInstantiate

        public Annotation loadClassAndInstantiate()
        Load the Annotation class corresponding to this AnnotationInfo object, by calling getClassInfo().loadClass(), then create a new instance of the annotation, with the annotation parameter values obtained from this AnnotationInfo object.
        Returns:
        The new Annotation instance.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object