U - The represented unloaded type.V - The represented loaded type.public abstract static class AnnotationValue.AbstractBase<U,V> extends java.lang.Object implements AnnotationValue<U,V>
AnnotationValue.AbstractBase<U,V>, AnnotationValue.ForAnnotationDescription<U extends java.lang.annotation.Annotation>, AnnotationValue.ForConstant<U>, AnnotationValue.ForDescriptionArray<U,V>, AnnotationValue.ForEnumerationDescription<U extends java.lang.Enum<U>>, AnnotationValue.ForTypeDescription<U extends java.lang.Class<U>>, AnnotationValue.Loaded<U>, AnnotationValue.RenderingDispatcherUNDEFINED| Constructor and Description |
|---|
AbstractBase() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationValue.Loaded<V> |
loadSilent(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation without throwing a checked exception.
|
<W> W |
resolve(java.lang.Class<? extends W> type)
Resolves the unloaded value of this annotation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitload, resolvepublic <W> W resolve(java.lang.Class<? extends W> type)
resolve in interface AnnotationValue<U,V>W - The annotation value's unloaded type.type - The annotation value's unloaded type.public AnnotationValue.Loaded<V> loadSilent(java.lang.ClassLoader classLoader)
loadSilent in interface AnnotationValue<U,V>classLoader - The class loader for loading this value.