Class AnnotationValue.Loaded.AbstractBase<W>

    • Constructor Detail

      • AbstractBase

        public AbstractBase()
    • Method Detail

      • resolve

        public <X> X resolve​(java.lang.Class<? extends X> type)
        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.
        Specified by:
        resolve in interface AnnotationValue.Loaded<W>
        Type Parameters:
        X - The value's loaded type.
        Parameters:
        type - The value's loaded type.
        Returns:
        The actual annotation value represented by this instance.