Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import javax.tools.StandardLocation;

@SupportedAnnotationTypes("*")
@SupportedSourceVersion(SourceVersion.RELEASE_17)
public class ServiceProcessor extends AbstractProcessor {

private HandlebarsTemplateEngine serviceDefinitionFactoryCodegen;
Expand Down Expand Up @@ -158,6 +157,11 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
return false;
}

@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latestSupported();
}

public static Path readOrCreateResource(Filer filer, String file) throws IOException {
try {
FileObject fileObject = filer.getResource(StandardLocation.CLASS_OUTPUT, "", file);
Expand Down