Interface TypeScanner<R>


public interface TypeScanner<R>
An interface that defines how to map annotated types to TypeScanner results
  • Method Summary

    Modifier and Type
    Method
    Description
    default R
    scan(TypeT<?> type)
    Scans a type token and maps it to an TypeScanner result
    Scans an annotated type and maps it to an TypeScanner result
    default R
    scan(Type type)
    Scans a type and maps it to an TypeScanner result
  • Method Details

    • scan

      R scan(AnnotatedType type)
      Scans an annotated type and maps it to an TypeScanner result
      Parameters:
      type - an annotated type to be scanned
      Returns:
      a result of scan
    • scan

      default R scan(Type type)
      Scans a type and maps it to an TypeScanner result
      Parameters:
      type - a type to be scanned
      Returns:
      a result of scan
    • scan

      default R scan(TypeT<?> type)
      Scans a type token and maps it to an TypeScanner result
      Parameters:
      type - a type token to be scanned
      Returns:
      a result of scan