Class AnnotationValue.ForMismatchedType.Loaded<W>

    • Constructor Detail

      • Loaded

        public Loaded​(Method property,
                      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.