Class AnnotationValue.ForMissingType.Loaded<U>

    • Field Detail

      • typeName

        private final java.lang.String typeName
        The type's binary name.
      • exception

        private final java.lang.ClassNotFoundException exception
        The exception describing the missing type.
    • Constructor Detail

      • Loaded

        public Loaded​(java.lang.String typeName,
                      java.lang.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.
      • toString

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