Package org.incendo.cloud.parser
Interface ParserRegistry.AnnotationMapper<A extends Annotation>
- Enclosing interface:
ParserRegistry<C>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@API(status=STABLE)
public static interface ParserRegistry.AnnotationMapper<A extends Annotation>
-
Method Summary
Modifier and TypeMethodDescriptionmapAnnotation(@NonNull A annotation, @NonNull TypeToken<?> parsedType) Returns theparser parametersthat correspond to the givenannotation.
-
Method Details
-
mapAnnotation
Returns theparser parametersthat correspond to the givenannotation.- Parameters:
annotation- annotation instanceparsedType- type produced by the parser that is being constructed- Returns:
- the parameters
-