public abstract class javax.annotation.processing.AbstractProcessor implements javax.annotation.processing.Processor
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.annotation.processing.AbstractProcessor
super_class: java.lang.Object
{
protected javax.annotation.processing.ProcessingEnvironment processingEnv;
descriptor: Ljavax/annotation/processing/ProcessingEnvironment;
flags: (0x0004) ACC_PROTECTED
private boolean initialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljavax/annotation/processing/AbstractProcessor;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic javax.annotation.processing.AbstractProcessor.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.annotation.processing.AbstractProcessor.initialized:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/annotation/processing/AbstractProcessor;
public java.util.Set<java.lang.String> getSupportedOptions();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljavax/annotation/processing/SupportedOptions;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.annotation.processing.SupportedOptions
astore 1
start local 1 1: aload 1
ifnonnull 3
2: invokestatic java.util.Set.of:()Ljava/util/Set;
goto 4
3: StackMap locals: javax.annotation.processing.SupportedOptions
StackMap stack:
aload 0
aload 1
invokeinterface javax.annotation.processing.SupportedOptions.value:()[Ljava/lang/String;
iconst_0
ldc "option value"
ldc "@SupportedOptions"
invokevirtual javax.annotation.processing.AbstractProcessor.arrayToSet:([Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;)Ljava/util/Set;
4: StackMap locals:
StackMap stack: java.util.Set
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/annotation/processing/AbstractProcessor;
1 5 1 so Ljavax/annotation/processing/SupportedOptions;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.util.Set<java.lang.String> getSupportedAnnotationTypes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljavax/annotation/processing/SupportedAnnotationTypes;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.annotation.processing.SupportedAnnotationTypes
astore 1
start local 1 1: aload 0
invokevirtual javax.annotation.processing.AbstractProcessor.isInitialized:()Z
istore 2
start local 2 2: aload 1
ifnonnull 11
3: iload 2
ifeq 10
4: aload 0
getfield javax.annotation.processing.AbstractProcessor.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
invokeinterface javax.annotation.processing.ProcessingEnvironment.getMessager:()Ljavax/annotation/processing/Messager;
getstatic javax.tools.Diagnostic$Kind.WARNING:Ljavax/tools/Diagnostic$Kind;
5: new java.lang.StringBuilder
dup
ldc "No SupportedAnnotationTypes annotation found on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc ", returning an empty set."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokeinterface javax.annotation.processing.Messager.printMessage:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;)V
10: StackMap locals: javax.annotation.processing.SupportedAnnotationTypes int
StackMap stack:
invokestatic java.util.Set.of:()Ljava/util/Set;
areturn
11: StackMap locals:
StackMap stack:
iload 2
ifeq 14
12: aload 0
getfield javax.annotation.processing.AbstractProcessor.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
invokeinterface javax.annotation.processing.ProcessingEnvironment.getSourceVersion:()Ljavax/lang/model/SourceVersion;
getstatic javax.lang.model.SourceVersion.RELEASE_8:Ljavax/lang/model/SourceVersion;
invokevirtual javax.lang.model.SourceVersion.compareTo:(Ljava/lang/Enum;)I
13: ifgt 14
iconst_1
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 3
start local 3 16: aload 0
aload 1
invokeinterface javax.annotation.processing.SupportedAnnotationTypes.value:()[Ljava/lang/String;
iload 3
17: ldc "annotation type"
ldc "@SupportedAnnotationTypes"
18: invokevirtual javax.annotation.processing.AbstractProcessor.arrayToSet:([Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;)Ljava/util/Set;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/annotation/processing/AbstractProcessor;
1 19 1 sat Ljavax/annotation/processing/SupportedAnnotationTypes;
2 19 2 initialized Z
16 19 3 stripModulePrefixes Z
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public javax.lang.model.SourceVersion getSupportedSourceVersion();
descriptor: ()Ljavax/lang/model/SourceVersion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljavax/annotation/processing/SupportedSourceVersion;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.annotation.processing.SupportedSourceVersion
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 1
ifnonnull 12
3: getstatic javax.lang.model.SourceVersion.RELEASE_6:Ljavax/lang/model/SourceVersion;
astore 2
4: aload 0
invokevirtual javax.annotation.processing.AbstractProcessor.isInitialized:()Z
ifeq 13
5: aload 0
getfield javax.annotation.processing.AbstractProcessor.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
invokeinterface javax.annotation.processing.ProcessingEnvironment.getMessager:()Ljavax/annotation/processing/Messager;
getstatic javax.tools.Diagnostic$Kind.WARNING:Ljavax/tools/Diagnostic$Kind;
6: new java.lang.StringBuilder
dup
ldc "No SupportedSourceVersion annotation found on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc ", returning "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokeinterface javax.annotation.processing.Messager.printMessage:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;)V
11: goto 13
12: StackMap locals: javax.annotation.processing.SupportedSourceVersion javax.lang.model.SourceVersion
StackMap stack:
aload 1
invokeinterface javax.annotation.processing.SupportedSourceVersion.value:()Ljavax/lang/model/SourceVersion;
astore 2
13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/annotation/processing/AbstractProcessor;
1 14 1 ssv Ljavax/annotation/processing/SupportedSourceVersion;
2 14 2 sv Ljavax/lang/model/SourceVersion;
public synchronized void init(javax.annotation.processing.ProcessingEnvironment);
descriptor: (Ljavax/annotation/processing/ProcessingEnvironment;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.annotation.processing.AbstractProcessor.initialized:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Cannot call init more than once."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ldc "Tool provided null ProcessingEnvironment"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
3: aload 0
aload 1
putfield javax.annotation.processing.AbstractProcessor.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
4: aload 0
iconst_1
putfield javax.annotation.processing.AbstractProcessor.initialized:Z
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/annotation/processing/AbstractProcessor;
0 6 1 processingEnv Ljavax/annotation/processing/ProcessingEnvironment;
MethodParameters:
Name Flags
processingEnv
public abstract boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement>, javax.annotation.processing.RoundEnvironment);
descriptor: (Ljava/util/Set;Ljavax/annotation/processing/RoundEnvironment;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/Set<+Ljavax/lang/model/element/TypeElement;>;Ljavax/annotation/processing/RoundEnvironment;)Z
MethodParameters:
Name Flags
annotations
roundEnv
public java.lang.Iterable<? extends javax.annotation.processing.Completion> getCompletions(javax.lang.model.element.Element, javax.lang.model.element.AnnotationMirror, javax.lang.model.element.ExecutableElement, java.lang.String);
descriptor: (Ljavax/lang/model/element/Element;Ljavax/lang/model/element/AnnotationMirror;Ljavax/lang/model/element/ExecutableElement;Ljava/lang/String;)Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.util.List.of:()Ljava/util/List;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/annotation/processing/AbstractProcessor;
0 1 1 element Ljavax/lang/model/element/Element;
0 1 2 annotation Ljavax/lang/model/element/AnnotationMirror;
0 1 3 member Ljavax/lang/model/element/ExecutableElement;
0 1 4 userText Ljava/lang/String;
Signature: (Ljavax/lang/model/element/Element;Ljavax/lang/model/element/AnnotationMirror;Ljavax/lang/model/element/ExecutableElement;Ljava/lang/String;)Ljava/lang/Iterable<+Ljavax/annotation/processing/Completion;>;
MethodParameters:
Name Flags
element
annotation
member
userText
protected synchronized boolean isInitialized();
descriptor: ()Z
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.annotation.processing.AbstractProcessor.initialized:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/annotation/processing/AbstractProcessor;
private java.util.Set<java.lang.String> arrayToSet(java.lang.String[], boolean, java.lang.String, java.lang.String);
descriptor: ([Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic javax.annotation.processing.AbstractProcessor.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 5
start local 5 2: aload 1
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 21
StackMap locals: javax.annotation.processing.AbstractProcessor java.lang.String[] int java.lang.String java.lang.String java.util.Set top int int java.lang.String[]
StackMap stack:
3: aload 9
iload 7
aaload
astore 6
start local 6 4: iconst_0
istore 10
start local 10 5: iload 2
ifeq 10
6: aload 6
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 11
start local 11 7: iload 11
iconst_m1
if_icmpeq 10
8: aload 6
iload 11
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
9: iconst_1
istore 10
end local 11 10: StackMap locals: javax.annotation.processing.AbstractProcessor java.lang.String[] int java.lang.String java.lang.String java.util.Set java.lang.String int int java.lang.String[] int
StackMap stack:
aload 5
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
istore 11
start local 11 11: iload 11
ifne 20
iload 10
ifne 20
aload 0
invokevirtual javax.annotation.processing.AbstractProcessor.isInitialized:()Z
ifeq 20
12: aload 0
getfield javax.annotation.processing.AbstractProcessor.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
invokeinterface javax.annotation.processing.ProcessingEnvironment.getMessager:()Ljavax/annotation/processing/Messager;
getstatic javax.tools.Diagnostic$Kind.WARNING:Ljavax/tools/Diagnostic$Kind;
13: new java.lang.StringBuilder
dup
ldc "Duplicate "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: ldc " ``"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'' for processor "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: ldc " in its "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: ldc "annotation."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokeinterface javax.annotation.processing.Messager.printMessage:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;)V
end local 11 end local 10 end local 6 20: StackMap locals: javax.annotation.processing.AbstractProcessor java.lang.String[] int java.lang.String java.lang.String java.util.Set top int int java.lang.String[]
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
21: iload 7
iload 8
if_icmplt 3
22: aload 5
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljavax/annotation/processing/AbstractProcessor;
0 23 1 array [Ljava/lang/String;
0 23 2 stripModulePrefixes Z
0 23 3 contentType Ljava/lang/String;
0 23 4 annotationName Ljava/lang/String;
2 23 5 set Ljava/util/Set<Ljava/lang/String;>;
4 20 6 s Ljava/lang/String;
5 20 10 stripped Z
7 10 11 index I
11 20 11 added Z
Signature: ([Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
array
stripModulePrefixes
contentType
annotationName
}
SourceFile: "AbstractProcessor.java"
InnerClasses:
public final Kind = javax.tools.Diagnostic$Kind of javax.tools.Diagnostic