@SupportedAnnotationTypes(value={"org.mule.api.annotations.Connector","org.mule.api.annotations.ExpressionLanguage","org.mule.api.annotations.Module","org.mule.api.annotations.MetaDataCategory","org.mule.api.annotations.components.*","org.mule.api.annotations.oauth.OAuth2"}) @SupportedSourceVersion(value=RELEASE_7) @SupportedOptions(value={"enabledStudioPluginPackage","enableJavaDocValidation","mavenInformationFile","enabledVerboseLogging"}) public class AnnotationProcessor extends AbstractAnnotationProcessor
annotationVerifiers, context, notificationGatherer, postProcessors, printer, sortedModuleGenerators
processingEnv
Constructor and Description |
---|
AnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
List<? extends Verifier> |
getAnnotationVerifiers()
Retrieve a list of validators for the specified object type
|
List<Generator> |
getGenerators()
Retrieve a list of generators for the specified object type
|
protected Plugin |
getPluginFromVerifier(Verifier verifier)
Given a Generator returns its containing Plugin
|
List<PostProcessor> |
getPostProcessors()
Retrieve a list of post processors for the specified object type
|
URLClassLoader |
getUserClassLoader(ClassLoader parent)
Gets a classLoader that can load classes specified via the
-classpath option.
|
void |
init(ProcessingEnvironment processingEnvironment) |
protected boolean |
shouldBeIncluded(Plugin p) |
createContext, doProcess, doVerify, doVerify, getContext, initialize, postProcess, process, runGenerators, runVerifiers, typeExists
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
protected Plugin getPluginFromVerifier(Verifier verifier)
AbstractAnnotationProcessor
getPluginFromVerifier
in class AbstractAnnotationProcessor
verifier
- Generator used to find its Pluginpublic List<? extends Verifier> getAnnotationVerifiers()
AbstractAnnotationProcessor
getAnnotationVerifiers
in class AbstractAnnotationProcessor
protected boolean shouldBeIncluded(Plugin p)
public List<Generator> getGenerators()
AbstractAnnotationProcessor
getGenerators
in class AbstractAnnotationProcessor
public void init(ProcessingEnvironment processingEnvironment)
init
in interface Processor
init
in class AbstractProcessor
public List<PostProcessor> getPostProcessors()
AbstractAnnotationProcessor
getPostProcessors
in class AbstractAnnotationProcessor
PostProcessor
public URLClassLoader getUserClassLoader(ClassLoader parent) throws MalformedURLException
MalformedURLException
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.