Interface AnnotationDescription.Loadable<S extends java.lang.annotation.Annotation>

    • Method Detail

      • load

        S load()
        throws java.lang.ClassNotFoundException
        Loads this annotation description. This causes all classes referenced by the annotation value to be loaded. Without specifying a class loader, the annotation's class loader which was used to prepare this instance is used.
        Returns:
        A loaded version of this annotation description.
        Throws:
        java.lang.ClassNotFoundException - If any linked classes of the annotation cannot be loaded.
      • loadSilent

        S loadSilent()
        Loads this annotation description. This causes all classes referenced by the annotation value to be loaded. Without specifying a class loader, the annotation's class loader which was used to prepare this instance is used. Any ClassNotFoundException is wrapped in an IllegalStateException.
        Returns:
        A loaded version of this annotation description.