Class AnnotationValue.ForMissingType.Loaded<U>
- java.lang.Object
-
- net.bytebuddy.description.annotation.AnnotationValue.Loaded.AbstractBase<Z>
-
- net.bytebuddy.description.annotation.AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<U>
-
- net.bytebuddy.description.annotation.AnnotationValue.ForMissingType.Loaded<U>
-
- Type Parameters:
U
- The represented type.
- All Implemented Interfaces:
AnnotationValue.Loaded<U>
- Enclosing class:
- AnnotationValue.ForMissingType<U,V>
public static class AnnotationValue.ForMissingType.Loaded<U> extends AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<U>
Represents a missing type during an annotation's resolution.
-
-
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>
-
-
Constructor Summary
Constructors Constructor Description Loaded(java.lang.String typeName, java.lang.ClassNotFoundException exception)
The type's binary name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description U
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 U 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
-
-