Class AnnotationValue.ForMismatchedType.Loaded<W>

    • Field Detail

      • property

        private final java.lang.reflect.Method property
        The annotation property that is not well-defined.
      • value

        private final java.lang.String value
        A value description of the incompatible property or null.
    • Constructor Detail

      • Loaded

        public Loaded​(java.lang.reflect.Method property,
                      java.lang.String value)
        Creates a new loaded version of a property with an incompatible type.
        Parameters:
        property - The annotation property that is not well-defined.
        value - A value description of the incompatible property or null.
    • Method Detail

      • resolve

        public W resolve()
        Resolves the value to the actual value of an annotation. Calling this method might throw a runtime exception if this value is either not defined or not resolved.
        Returns:
        The actual annotation value represented by this instance.