Package net.bytebuddy.pool
Class TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Illegal
java.lang.Object
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Illegal
- All Implemented Interfaces:
TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution
- Enclosing interface:
TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution
@Enhance
public static class TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Illegal
extends Object
implements TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution
An illegal resolution.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution
TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Illegal, TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Simple
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if the represented annotation could be resolved.resolve()
Returns the resolved annotation.
-
Field Details
-
annotationType
The annotation's binary type name.
-
-
Constructor Details
-
Illegal
Creates a new illegal resolution.- Parameters:
annotationType
- The annotation's binary type name.
-
-
Method Details
-
isResolved
public boolean isResolved()Returnstrue
if the represented annotation could be resolved.- Specified by:
isResolved
in interfaceTypePool.Default.LazyTypeDescription.AnnotationToken.Resolution
- Returns:
true
if the represented annotation could be resolved.
-
resolve
Returns the resolved annotation. This method throws an exception if this instance is not resolved.- Specified by:
resolve
in interfaceTypePool.Default.LazyTypeDescription.AnnotationToken.Resolution
- Returns:
- The resolved annotation. This method throws an exception if this instance is not resolved.
-