@SupportedAnnotationTypes(value={"org.apache.qpid.server.model.ManagedOperation","org.apache.qpid.server.model.Param"}) public class OperationAnnotationValidator extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
MANAGED_OPERATION_CLASS_NAME |
static String |
OPERATION_PARAM_CLASS_NAME |
processingEnv| Constructor and Description |
|---|
OperationAnnotationValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAnnotationIsOnMethodInInterface(TypeElement annotationElement,
Element e) |
void |
checkInterfaceExtendsConfiguredObject(TypeElement annotationElement,
Element e) |
void |
checkMethodArgsAreValid(TypeElement annotationElement,
ExecutableElement methodElement) |
void |
checkMethodReturnType(TypeElement annotationElement,
ExecutableElement methodElement) |
SourceVersion |
getSupportedSourceVersion() |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitializedpublic static final String MANAGED_OPERATION_CLASS_NAME
public static final String OPERATION_PARAM_CLASS_NAME
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorpublic void checkMethodReturnType(TypeElement annotationElement, ExecutableElement methodElement)
public void checkMethodArgsAreValid(TypeElement annotationElement, ExecutableElement methodElement)
public void checkInterfaceExtendsConfiguredObject(TypeElement annotationElement, Element e)
public void checkAnnotationIsOnMethodInInterface(TypeElement annotationElement, Element e)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.