S
- The annotation type.public static interface AnnotationDescription.Loadable<S extends Annotation> extends AnnotationDescription
AnnotationDescription.AbstractBase, AnnotationDescription.AnnotationInvocationHandler<T extends Annotation>, AnnotationDescription.AnnotationValue<T,S>, AnnotationDescription.Builder, AnnotationDescription.ForLoadedAnnotation<S extends Annotation>, AnnotationDescription.Latent, 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, getElementTypes, getRetention, getValue, getValue, isDocumented, isInherited, 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–2016. All rights reserved.