Class AnnotationValue.ForMismatchedType.Loaded<W>
java.lang.Object
net.bytebuddy.description.annotation.AnnotationValue.Loaded.AbstractBase<W>
net.bytebuddy.description.annotation.AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<W>
net.bytebuddy.description.annotation.AnnotationValue.ForMismatchedType.Loaded<W>
- Type Parameters:
W- The type of the annotation's expected value.
- All Implemented Interfaces:
AnnotationValue.Loaded<W>
- Enclosing class:
AnnotationValue.ForMismatchedType<U,V>
public static class AnnotationValue.ForMismatchedType.Loaded<W>
extends AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<W>
Describes an annotation value for a property that is not assignable to it.
-
Nested Class Summary
Nested classes/interfaces inherited from class AnnotationValue.Loaded.AbstractBase
AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<Z>Nested classes/interfaces inherited from interface AnnotationValue.Loaded
AnnotationValue.Loaded.AbstractBase<W> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty
getState, representsMethods inherited from class AnnotationValue.Loaded.AbstractBase
resolve
-
Field Details
-
property
The annotation property that is not well-defined. -
value
A value description of the incompatible property ornull.
-
-
Constructor Details
-
Loaded
-
-
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.- Returns:
- The actual annotation value represented by this instance.
-
toString
-