U - The represented unloaded type.V - The represented loaded type.public abstract static class AnnotationValue.AbstractBase<U,V> extends Object implements AnnotationValue<U,V>
AnnotationValue.AbstractBase<U,V>, AnnotationValue.ForAnnotationDescription<U extends Annotation>, AnnotationValue.ForConstant<U>, AnnotationValue.ForDescriptionArray<U,V>, AnnotationValue.ForEnumerationDescription<U extends Enum<U>>, AnnotationValue.ForTypeDescription<U extends Class<U>>, AnnotationValue.Loaded<U>, AnnotationValue.RenderingDispatcherUNDEFINED| Constructor and Description |
|---|
AbstractBase() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationValue.Loaded<V> |
loadSilent(ClassLoader classLoader)
Returns the loaded value of this annotation without throwing a checked exception.
|
<W> W |
resolve(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(Class<? extends W> type)
AnnotationValueresolve in interface AnnotationValue<U,V>W - The annotation value's unloaded type.type - The annotation value's unloaded type.public AnnotationValue.Loaded<V> loadSilent(ClassLoader classLoader)
AnnotationValueloadSilent in interface AnnotationValue<U,V>classLoader - The class loader for loading this value.Copyright © 2014–2017. All rights reserved.