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>
-
-
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.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
-
-
-
-
Constructor Detail
-
Loaded
public Loaded(Class<?> type)
Creates a new description of an annotation.- Parameters:
type
- The type that does not fulfil an expectation.
-
-
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.
-
-