@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, isInitialized
public static final String MANAGED_OPERATION_CLASS_NAME
public static final String OPERATION_PARAM_CLASS_NAME
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
in class AbstractProcessor
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
public 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.