Class AnnotationValue.ForIncompatibleType.Loaded<W>

    • Field Detail

      • type

        private final java.lang.Class<?> type
        The type that does not fulfil an expectation.
    • Constructor Detail

      • Loaded

        public Loaded​(java.lang.Class<?> type)
        Creates a new description of an annotation.
        Parameters:
        type - The type that does not fulfil an expectation.
    • 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.
      • toString

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