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.Resolution
A 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.
  • Method Details

    • isResolved

      boolean isResolved()
      Returns true if the represented annotation could be resolved.
      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.
      Returns:
      The resolved annotation. This method throws an exception if this instance is not resolved.