Class SecureMountAnnotationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
org.wicketstuff.wicket.mount.secure.processor.SecureMountAnnotationProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes({"org.wicketstuff.wicket.servlet3.auth.annotation.SecureAutoMount","org.wicketstuff.wicket.mount.annotation.MountPoint"})
@SupportedSourceVersion(RELEASE_6)
public class SecureMountAnnotationProcessor
extends org.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
Compile time processor to generate source code for mount paths.
- Author:
- jsarman
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetDefaultMimeExtension(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context, TypeElement elem) protected StringgetDefaultRootPath(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context, TypeElement elem) booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) protected voidsetPackagesToScan(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context) Methods inherited from class org.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
completeAbstractMountPoints, extractMountPath, generateGenericName, generateSource, getAutoMountContext, init, processMountPointMethods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
Constructor Details
-
SecureMountAnnotationProcessor
public SecureMountAnnotationProcessor()
-
-
Method Details
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
getDefaultRootPath
protected String getDefaultRootPath(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context, TypeElement elem) - Specified by:
getDefaultRootPathin classorg.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
-
setPackagesToScan
protected void setPackagesToScan(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context) - Specified by:
setPackagesToScanin classorg.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
-
getDefaultMimeExtension
protected String getDefaultMimeExtension(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context, TypeElement elem) - Specified by:
getDefaultMimeExtensionin classorg.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
-