Class AnnotationParameterValue

    • Field Detail

      • scanResult

        protected transient ScanResult scanResult
    • Method Detail

      • getName

        public String getName()
        Returns:
        The annotation parameter name.
      • getValue

        public Object getValue()
        Returns:
        The annotation parameter value. May be one of the following types:
        • String for string constants
        • A wrapper type, e.g. Integer or Character, for primitive-typed constants
        • Object[] for array types (and then the array element type may be one of the types in this list)
        • AnnotationEnumValue, for enum constants (this wraps the enum class and the string name of the constant)
        • AnnotationClassRef, for Class references within annotations (this wraps the name of the referenced class)
        • AnnotationInfo, for nested annotations
      • getClassName

        protected String getClassName()
        The name of the class (used by getClassInfo() to fetch the ClassInfo object for the class).
        Returns:
        The class name.
      • getClassInfo

        protected ClassInfo getClassInfo()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object