class com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState
super_class: java.lang.Object
{
public javax.annotation.processing.Processor processor;
descriptor: Ljavax/annotation/processing/Processor;
flags: (0x0001) ACC_PUBLIC
public boolean contributed;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
private java.util.ArrayList<java.util.regex.Pattern> supportedAnnotationPatterns;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/util/regex/Pattern;>;
private java.util.ArrayList<java.lang.String> supportedOptionNames;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/lang/String;>;
void <init>(javax.annotation.processing.Processor, com.sun.tools.javac.util.Log, com.sun.tools.javac.code.Source, boolean, javax.annotation.processing.ProcessingEnvironment);
descriptor: (Ljavax/annotation/processing/Processor;Lcom/sun/tools/javac/util/Log;Lcom/sun/tools/javac/code/Source;ZLjavax/annotation/processing/ProcessingEnvironment;)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.processor:Ljavax/annotation/processing/Processor;
2: aload 0
iconst_0
putfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.contributed:Z
3: aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.processor:Ljavax/annotation/processing/Processor;
aload 5
invokeinterface javax.annotation.processing.Processor.init:(Ljavax/annotation/processing/ProcessingEnvironment;)V
4: aload 0
aload 3
aload 2
invokevirtual com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.checkSourceVersionCompatibility:(Lcom/sun/tools/javac/code/Source;Lcom/sun/tools/javac/util/Log;)V
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.supportedAnnotationPatterns:Ljava/util/ArrayList;
6: aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.processor:Ljavax/annotation/processing/Processor;
invokeinterface javax.annotation.processing.Processor.getSupportedAnnotationTypes:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 13
StackMap locals: com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState javax.annotation.processing.Processor com.sun.tools.javac.util.Log com.sun.tools.javac.code.Source int javax.annotation.processing.ProcessingEnvironment top java.util.Iterator
StackMap stack:
7: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 8: aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.supportedAnnotationPatterns:Ljava/util/ArrayList;
iload 4
9: aload 6
10: aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.processor:Ljavax/annotation/processing/Processor;
11: aload 2
12: invokestatic com.sun.tools.javac.processing.JavacProcessingEnvironment.importStringToPattern:(ZLjava/lang/String;Ljavax/annotation/processing/Processor;Lcom/sun/tools/javac/util/Log;)Ljava/util/regex/Pattern;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 6 13: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
14: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.supportedOptionNames:Ljava/util/ArrayList;
15: aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.processor:Ljavax/annotation/processing/Processor;
invokeinterface javax.annotation.processing.Processor.getSupportedOptions:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 19
StackMap locals:
StackMap stack:
16: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 17: aload 0
aload 6
aload 2
invokevirtual com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.checkOptionName:(Ljava/lang/String;Lcom/sun/tools/javac/util/Log;)Z
ifeq 19
18: aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.supportedOptionNames:Ljava/util/ArrayList;
aload 6
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 6 19: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
20: goto 25
StackMap locals: com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState javax.annotation.processing.Processor com.sun.tools.javac.util.Log com.sun.tools.javac.code.Source int javax.annotation.processing.ProcessingEnvironment
StackMap stack: com.sun.tools.javac.util.ClientCodeException
21: astore 6
start local 6 22: aload 6
athrow
end local 6 23: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
start local 6 24: new com.sun.tools.javac.processing.AnnotationProcessingError
dup
aload 6
invokespecial com.sun.tools.javac.processing.AnnotationProcessingError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 25: StackMap locals:
StackMap stack:
return
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 26 0 this Lcom/sun/tools/javac/processing/JavacProcessingEnvironment$ProcessorState;
0 26 1 p Ljavax/annotation/processing/Processor;
0 26 2 log Lcom/sun/tools/javac/util/Log;
0 26 3 source Lcom/sun/tools/javac/code/Source;
0 26 4 allowModules Z
0 26 5 env Ljavax/annotation/processing/ProcessingEnvironment;
8 13 6 importString Ljava/lang/String;
17 19 6 optionName Ljava/lang/String;
22 23 6 e Lcom/sun/tools/javac/util/ClientCodeException;
24 25 6 t Ljava/lang/Throwable;
Exception table:
from to target type
3 20 21 Class com.sun.tools.javac.util.ClientCodeException
3 20 23 Class java.lang.Throwable
MethodParameters:
Name Flags
p
log
source
allowModules
env
private void checkSourceVersionCompatibility(com.sun.tools.javac.code.Source, com.sun.tools.javac.util.Log);
descriptor: (Lcom/sun/tools/javac/code/Source;Lcom/sun/tools/javac/util/Log;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.processor:Ljavax/annotation/processing/Processor;
invokeinterface javax.annotation.processing.Processor.getSupportedSourceVersion:()Ljavax/lang/model/SourceVersion;
astore 3
start local 3 1: aload 3
aload 1
invokestatic com.sun.tools.javac.code.Source.toSourceVersion:(Lcom/sun/tools/javac/code/Source;)Ljavax/lang/model/SourceVersion;
invokevirtual javax.lang.model.SourceVersion.compareTo:(Ljava/lang/Enum;)I
ifge 6
2: aload 2
aload 3
3: aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.processor:Ljavax/annotation/processing/Processor;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
4: aload 1
getfield com.sun.tools.javac.code.Source.name:Ljava/lang/String;
5: invokestatic com.sun.tools.javac.resources.CompilerProperties$Warnings.ProcProcessorIncompatibleSourceVersion:(Ljavax/lang/model/SourceVersion;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/tools/javac/util/JCDiagnostic$Warning;
invokevirtual com.sun.tools.javac.util.Log.warning:(Lcom/sun/tools/javac/util/JCDiagnostic$Warning;)V
6: StackMap locals: javax.lang.model.SourceVersion
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/javac/processing/JavacProcessingEnvironment$ProcessorState;
0 7 1 source Lcom/sun/tools/javac/code/Source;
0 7 2 log Lcom/sun/tools/javac/util/Log;
1 7 3 procSourceVersion Ljavax/lang/model/SourceVersion;
MethodParameters:
Name Flags
source
log
private boolean checkOptionName(java.lang.String, com.sun.tools.javac.util.Log);
descriptor: (Ljava/lang/String;Lcom/sun/tools/javac/util/Log;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.sun.tools.javac.processing.JavacProcessingEnvironment.isValidOptionName:(Ljava/lang/String;)Z
istore 3
start local 3 1: iload 3
ifne 5
2: aload 2
aload 1
3: aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.processor:Ljavax/annotation/processing/Processor;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
4: invokestatic com.sun.tools.javac.resources.CompilerProperties$Errors.ProcProcessorBadOptionName:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/tools/javac/util/JCDiagnostic$Error;
invokevirtual com.sun.tools.javac.util.Log.error:(Lcom/sun/tools/javac/util/JCDiagnostic$Error;)V
5: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/processing/JavacProcessingEnvironment$ProcessorState;
0 6 1 optionName Ljava/lang/String;
0 6 2 log Lcom/sun/tools/javac/util/Log;
1 6 3 valid Z
MethodParameters:
Name Flags
optionName
log
public boolean annotationSupported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.supportedAnnotationPatterns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.regex.Pattern
astore 2
start local 2 2: aload 2
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/processing/JavacProcessingEnvironment$ProcessorState;
0 6 1 annotationName Ljava/lang/String;
2 4 2 p Ljava/util/regex/Pattern;
MethodParameters:
Name Flags
annotationName
public void removeSupportedOptions(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.supportedOptionNames:Ljava/util/ArrayList;
invokeinterface java.util.Set.removeAll:(Ljava/util/Collection;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/processing/JavacProcessingEnvironment$ProcessorState;
0 2 1 unmatchedProcessorOptions Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
unmatchedProcessorOptions
}
SourceFile: "JavacProcessingEnvironment.java"
NestHost: com.sun.tools.javac.processing.JavacProcessingEnvironment
InnerClasses:
ProcessorState = com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState of com.sun.tools.javac.processing.JavacProcessingEnvironment
public Errors = com.sun.tools.javac.resources.CompilerProperties$Errors of com.sun.tools.javac.resources.CompilerProperties
public Warnings = com.sun.tools.javac.resources.CompilerProperties$Warnings of com.sun.tools.javac.resources.CompilerProperties
public final Error = com.sun.tools.javac.util.JCDiagnostic$Error of com.sun.tools.javac.util.JCDiagnostic
public final Warning = com.sun.tools.javac.util.JCDiagnostic$Warning of com.sun.tools.javac.util.JCDiagnostic