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.RenderingDispatcher
UNDEFINED
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, wait
load, resolve
public <W> W resolve(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(ClassLoader classLoader)
loadSilent
in interface AnnotationValue<U,V>
classLoader
- The class loader for loading this value.Copyright © 2014–2018. All rights reserved.