Interface AnnotationTarget.AnnotationUsageProcessor<T,A extends Annotation>

Type Parameters:
T - The type of the value being returned.
Enclosing interface:
AnnotationTarget
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AnnotationTarget.AnnotationUsageProcessor<T,A extends Annotation>
Functional contract to process an annotation and return a value.
  • Method Summary

    Modifier and Type
    Method
    Description
    process(A annotationUsage)
    The processed value.
  • Method Details

    • process

      T process(A annotationUsage)
      The processed value. May be null to indicate a "no match"