Package net.bytebuddy.pool
Interface TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution
-
- All Known Implementing Classes:
TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Illegal,TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Simple
- Enclosing class:
- TypePool.Default.LazyTypeDescription.AnnotationToken
protected static interface TypePool.Default.LazyTypeDescription.AnnotationToken.ResolutionA resolution for an annotation tokens. Any annotation is suppressed if its type is not available. This conforms to the handling of the Java reflection API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.IllegalAn illegal resolution.static classTypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.SimpleA simple resolved annotation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisResolved()Returnstrueif the represented annotation could be resolved.AnnotationDescriptionresolve()Returns the resolved annotation.
-
-
-
Method Detail
-
isResolved
boolean isResolved()
Returnstrueif the represented annotation could be resolved.- Returns:
trueif the represented annotation could be resolved.
-
resolve
AnnotationDescription resolve()
Returns the resolved annotation. This method throws an exception if this instance is not resolved.- Returns:
- The resolved annotation. This method throws an exception if this instance is not resolved.
-
-