public class AnnotationHandlerImpl extends Object implements AnnotationHandler
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.plugin.logging.Log |
log |
| Constructor and Description |
|---|
AnnotationHandlerImpl(org.apache.maven.plugin.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
Set<Method> |
findFunctions(List<URL> urls) |
FunctionConfiguration |
generateConfiguration(Method method) |
Map<String,FunctionConfiguration> |
generateConfigurations(Set<Method> methods) |
protected ClassLoader |
getClassLoader(List<URL> urlList) |
protected List<Binding> |
parseAnnotations(java.util.function.Supplier<Annotation[]> annotationProvider,
java.util.function.Function<Annotation,Binding> annotationParser) |
protected Binding |
parseMethodAnnotation(Annotation annotation) |
protected Binding |
parseParameterAnnotation(Annotation annotation) |
protected void |
patchStorageBinding(Method method,
List<Binding> bindings) |
protected void |
processMethodAnnotations(Method method,
List<Binding> bindings) |
protected void |
processParameterAnnotations(Method method,
List<Binding> bindings) |
protected void |
validateFunctionName(Set<String> nameSet,
String functionName) |
public AnnotationHandlerImpl(org.apache.maven.plugin.logging.Log log)
public Set<Method> findFunctions(List<URL> urls)
findFunctions in interface AnnotationHandlerprotected ClassLoader getClassLoader(List<URL> urlList)
public Map<String,FunctionConfiguration> generateConfigurations(Set<Method> methods) throws Exception
generateConfigurations in interface AnnotationHandlerExceptionprotected void validateFunctionName(Set<String> nameSet, String functionName) throws Exception
Exceptionpublic FunctionConfiguration generateConfiguration(Method method)
generateConfiguration in interface AnnotationHandlerprotected void processParameterAnnotations(Method method, List<Binding> bindings)
protected void processMethodAnnotations(Method method, List<Binding> bindings)
protected List<Binding> parseAnnotations(java.util.function.Supplier<Annotation[]> annotationProvider, java.util.function.Function<Annotation,Binding> annotationParser)
protected Binding parseParameterAnnotation(Annotation annotation)
protected Binding parseMethodAnnotation(Annotation annotation)
Copyright © 2019. All rights reserved.