Class AnnotationValue.AbstractBase<U,​V>

    • Constructor Detail

      • AbstractBase

        public AbstractBase()
    • Method Detail

      • resolve

        public <W> W resolve​(java.lang.Class<? extends W> type)
        Description copied from interface: AnnotationValue
        Resolves the unloaded value of this annotation.
        Specified by:
        resolve in interface AnnotationValue<U,​V>
        Type Parameters:
        W - The annotation value's unloaded type.
        Parameters:
        type - The annotation value's unloaded type.
        Returns:
        The unloaded value of this annotation.
      • loadSilent

        public AnnotationValue.Loaded<V> loadSilent​(java.lang.ClassLoader classLoader)
        Description copied from interface: AnnotationValue
        Returns the loaded value of this annotation without throwing a checked exception.
        Specified by:
        loadSilent in interface AnnotationValue<U,​V>
        Parameters:
        classLoader - The class loader for loading this value.
        Returns:
        The loaded value of this annotation.