Class ResourcecifyProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
io.sundr.resourcecify.internal.processor.ResourcecifyProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("io.sundr.resourcecify.annotations.Resourcecify")
public class ResourcecifyProcessor
extends AbstractProcessor
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopy(FileObject source, FileObject target) Copy oneFileObjectinto an other.static PackageElementgetPackageElement(Element element) static StringgetPackageName(Element element) booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment env) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Constructor Details
-
ResourcecifyProcessor
public ResourcecifyProcessor()
-
-
Method Details
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
getPackageName
-
getPackageElement
-
copy
Copy oneFileObjectinto an other.- Parameters:
source- The sourceFileObject.target- The targetFileObject.- Throws:
IOException
-