public class AnnotationValuesExtractor extends ClassPathIntrospector
| Constructor and Description |
|---|
AnnotationValuesExtractor(com.vaadin.flow.server.frontend.scanner.ClassFinder finder)
Prepares the class to extract annotations with the class finder
specified.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Class<? extends Annotation>,Set<String>> |
extractAnnotationValues(Map<Class<? extends Annotation>,String> annotationToValueGetterMethodName)
Extracts annotation values from the annotations.
|
doInvokeAnnotationMethod, getAnnotatedClasses, getResource, getSubtypes, invokeAnnotationMethod, loadClassInProjectClassLoaderpublic AnnotationValuesExtractor(com.vaadin.flow.server.frontend.scanner.ClassFinder finder)
finder - the specific ClassFinder to usepublic Map<Class<? extends Annotation>,Set<String>> extractAnnotationValues(Map<Class<? extends Annotation>,String> annotationToValueGetterMethodName)
annotationToValueGetterMethodName - annotations and method names to call to get data fromIllegalArgumentException - if annotation does not have the method specifiedIllegalStateException - if annotation cannot be loaded for specified project classes
or annotation method call threw an exceptionCopyright © 2000–2019 Vaadin Ltd. All rights reserved.