Class AnnotationValueAccess

    • Method Detail

      • getStringValue

        public java.lang.String getStringValue()
        Return string annotation value.
        Specified by:
        getStringValue in interface IAnnotationValueAccess
        Returns:
        Return string annotation value or null, if the value is not a string.
      • getNumericValue

        public java.lang.Number getNumericValue()
        Return numeric annotation value.
        Specified by:
        getNumericValue in interface IAnnotationValueAccess
        Returns:
        Return numeric annotation value of null, if the value is not a number.
      • getBooleanValue

        public java.lang.Boolean getBooleanValue()
        Return boolean annotation value.
        Specified by:
        getBooleanValue in interface IAnnotationValueAccess
        Returns:
        Return boolean annotation value of null, if the value is not a boolean.
      • getEnumContantName

        public java.lang.String getEnumContantName()
        Return enum constant name.
        Specified by:
        getEnumContantName in interface IAnnotationValueAccess
        Returns:
        Return enum constant name or null, if the value is ot an enum constant.
      • getEumConstant

        @Deprecated
        public IJavaFieldAccess getEumConstant()
        Deprecated.
        Return enum constant as field.
        Specified by:
        getEumConstant in interface IAnnotationValueAccess
        Returns:
        Return enum constant as field or null, if value is not an enum constant or was not resolved.
      • getClassName

        public java.lang.String getClassName()
        Return name of referenced class.
        Specified by:
        getClassName in interface IAnnotationValueAccess
        Returns:
        Return name of referenced class or null, if value if not a class.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object