S
- The annotation type.public static interface AnnotationDescription.Loadable<S extends Annotation> extends AnnotationDescription
AnnotationDescription.AbstractAnnotationDescription, AnnotationDescription.EnumerationValue, AnnotationDescription.ForLoadedAnnotation<S extends Annotation>, AnnotationDescription.Loadable<S extends Annotation>
Modifier and Type | Method and Description |
---|---|
S |
load()
Loads this annotation description.
|
S |
load(ClassLoader classLoader)
Loads this annotation description.
|
S |
loadSilent()
Loads this annotation description.
|
S |
loadSilent(ClassLoader classLoader)
Loads this annotation description.
|
getAnnotationType, getValue, getValue, prepare
S load() throws ClassNotFoundException
ClassNotFoundException
- If any linked classes of the annotation cannot be loaded.S load(ClassLoader classLoader) throws ClassNotFoundException
classLoader
- The class loader to be used for loading the annotation's linked types.ClassNotFoundException
- If any linked classes of the annotation cannot be loaded.S loadSilent()
ClassNotFoundException
is wrapped in an IllegalStateException
.S loadSilent(ClassLoader classLoader)
ClassNotFoundException
is wrapped in an IllegalStateException
.classLoader
- The class loader to be used for loading the annotation's linked types.Copyright © 2014–2015. All rights reserved.