Class AnnotationValue.ForMissingType.Loaded<U>
java.lang.Object
net.bytebuddy.description.annotation.AnnotationValue.Loaded.AbstractBase<U>
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 AnnotationValue.Loaded.AbstractBase
AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<Z>Nested classes/interfaces inherited from interface AnnotationValue.Loaded
AnnotationValue.Loaded.AbstractBase<W> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClassNotFoundExceptionThe exception describing the missing type.private final StringThe type's binary name. -
Constructor Summary
ConstructorsConstructorDescriptionLoaded(String typeName, ClassNotFoundException exception) The type's binary name. -
Method Summary
Methods inherited from class AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty
getState, representsMethods inherited from class AnnotationValue.Loaded.AbstractBase
resolve
-
Field Details
-
typeName
The type's binary name. -
exception
The exception describing the missing type.
-
-
Constructor Details
-
Loaded
The type's binary name.- Parameters:
typeName- The type's binary name.exception- The exception describing the missing type.
-
-
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
-