Package dev.restate.sdk.gen
Class ServiceProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
dev.restate.sdk.gen.ServiceProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes({"dev.restate.sdk.annotation.Service","dev.restate.sdk.annotation.Workflow","dev.restate.sdk.annotation.VirtualObject"})
@SupportedSourceVersion(RELEASE_11)
public class ServiceProcessor
extends AbstractProcessor
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(ProcessingEnvironment processingEnv) boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) static Path
readOrCreateResource
(Filer filer, String file) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
Constructor Details
-
ServiceProcessor
public ServiceProcessor()
-
-
Method Details
-
init
- Specified by:
init
in interfaceProcessor
- Overrides:
init
in classAbstractProcessor
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
readOrCreateResource
- Throws:
IOException
-