Class AnnotationValue.Loaded.AbstractBase<W>
java.lang.Object
net.bytebuddy.description.annotation.AnnotationValue.Loaded.AbstractBase<W>
- Type Parameters:
W
- The represented loaded type.
- All Implemented Interfaces:
AnnotationValue.Loaded<W>
- Direct Known Subclasses:
AnnotationValue.ForAnnotationDescription.Loaded
,AnnotationValue.ForConstant.Loaded
,AnnotationValue.ForDescriptionArray.Loaded
,AnnotationValue.ForEnumerationDescription.Loaded
,AnnotationValue.ForEnumerationDescription.Loaded.WithIncompatibleRuntimeType
,AnnotationValue.ForMissingValue.Loaded
,AnnotationValue.ForTypeDescription.Loaded
,AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty
- Enclosing interface:
AnnotationValue.Loaded<U>
public abstract static class AnnotationValue.Loaded.AbstractBase<W>
extends Object
implements AnnotationValue.Loaded<W>
An abstract base implementation of a loaded annotation value.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A base implementation for an unresolved property.Nested classes/interfaces inherited from interface net.bytebuddy.description.annotation.AnnotationValue.Loaded
AnnotationValue.Loaded.AbstractBase<W>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.bytebuddy.description.annotation.AnnotationValue.Loaded
getState, represents, resolve
-
Constructor Details
-
AbstractBase
public AbstractBase()
-
-
Method Details
-
resolve
Resolves the value to the actual value of an annotation. Calling this method might throw a runtime exception if this value is either not defined or not resolved.- Specified by:
resolve
in interfaceAnnotationValue.Loaded<W>
- Type Parameters:
X
- The value's loaded type.- Parameters:
type
- The value's loaded type.- Returns:
- The actual annotation value represented by this instance.
-