Class AnnotationValue.ForMissingType.Loaded<U>

    • Constructor Detail

      • Loaded

        public Loaded​(String typeName,
                      ClassNotFoundException exception)
        The type's binary name.
        Parameters:
        typeName - The type's binary name.
        exception - The exception describing the missing type.
    • Method Detail

      • resolve

        public U 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.