Class AnnotationValue.ForMismatchedType.Loaded<W>
- java.lang.Object
-
- net.bytebuddy.description.annotation.AnnotationValue.Loaded.AbstractBase<Z>
-
- 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 net.bytebuddy.description.annotation.AnnotationValue.Loaded.AbstractBase
AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<Z>
-
Nested classes/interfaces inherited from interface net.bytebuddy.description.annotation.AnnotationValue.Loaded
AnnotationValue.Loaded.AbstractBase<W>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description W
resolve()
Resolves the value to the actual value of an annotation.-
Methods inherited from class net.bytebuddy.description.annotation.AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty
getState, represents
-
Methods inherited from class net.bytebuddy.description.annotation.AnnotationValue.Loaded.AbstractBase
resolve
-
-
-
-
Method Detail
-
resolve
public W 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.
-
-