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 @@ -23,7 +23,6 @@
import javax.annotation.processing.RoundEnvironment;
import javax.annotation.processing.SupportedAnnotationTypes;
import javax.annotation.processing.SupportedOptions;
import javax.annotation.processing.SupportedSourceVersion;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.AnnotationMirror;
import javax.lang.model.element.Element;
Expand Down Expand Up @@ -57,8 +56,7 @@
* @author Gunnar Morling
*/
@SupportedAnnotationTypes("*")
@SupportedSourceVersion(SourceVersion.RELEASE_6)
@SupportedOptions( {
@SupportedOptions({
Configuration.DIAGNOSTIC_KIND_PROCESSOR_OPTION,
Configuration.VERBOSE_PROCESSOR_OPTION,
Configuration.METHOD_CONSTRAINTS_SUPPORTED_PROCESSOR_OPTION
Expand Down Expand Up @@ -89,6 +87,11 @@ public synchronized void init(ProcessingEnvironment processingEnv) {
messager = new MessagerAdapter( processingEnv.getMessager(), configuration.getDiagnosticKind() );
}

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

@Override
public boolean process(
final Set<? extends TypeElement> annotations,
Expand Down