S
- The annotation type this instance was prepared for.public abstract static class AnnotationDescription.AbstractBase.ForPrepared<S extends Annotation> extends AnnotationDescription.AbstractBase implements AnnotationDescription.Loadable<S>
AnnotationDescription.AbstractBase.ForPrepared<S extends Annotation>
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 | Field and Description |
---|---|
static String |
ERROR_MESSAGE
The error message to be displayed on a
ClassNotFoundException . |
UNDEFINED
Constructor and Description |
---|
ForPrepared() |
Modifier and Type | Method and Description |
---|---|
S |
loadSilent()
Loads this annotation description.
|
S |
loadSilent(ClassLoader classLoader)
Loads this annotation description.
|
equals, getElementTypes, getRetention, getValue, hashCode, isDocumented, isInherited, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
load, load
getAnnotationType, getElementTypes, getRetention, getValue, getValue, isDocumented, isInherited, prepare
public static final String ERROR_MESSAGE
ClassNotFoundException
.public S loadSilent()
AnnotationDescription.Loadable
ClassNotFoundException
is wrapped in an IllegalStateException
.loadSilent
in interface AnnotationDescription.Loadable<S extends Annotation>
public S loadSilent(ClassLoader classLoader)
AnnotationDescription.Loadable
ClassNotFoundException
is wrapped in an IllegalStateException
.loadSilent
in interface AnnotationDescription.Loadable<S extends Annotation>
classLoader
- The class loader to be used for loading the annotation's linked types.Copyright © 2014–2016. All rights reserved.