Class AnnotationValue.ForIncompatibleType.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.ForIncompatibleType.Loaded<W>
-
- Type Parameters:
W
- The type of the annotation's expected value.
- All Implemented Interfaces:
AnnotationValue.Loaded<W>
- Enclosing class:
- AnnotationValue.ForIncompatibleType<U,V>
public static class AnnotationValue.ForIncompatibleType.Loaded<W> extends AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<W>
A description of annotation value for a type that does not fulfil an expectation.
-
-
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>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<?>
type
The type that does not fulfil an expectation.
-
Constructor Summary
Constructors Constructor Description Loaded(java.lang.Class<?> type)
Creates a new description of an annotation.
-
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.java.lang.String
toString()
-
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.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-