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 java.lang.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 Modifier and Type Field Description private java.lang.String
annotationType
The annotation's binary type name.
-
Constructor Summary
Constructors Constructor Description Illegal(java.lang.String annotationType)
Creates a new illegal resolution.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isResolved()
Returnstrue
if the represented annotation could be resolved.AnnotationDescription
resolve()
Returns the resolved annotation.
-
-
-
Method Detail
-
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
public AnnotationDescription 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.
-
-