public final class com.sun.tools.internal.jxc.ap.AnnotationParser extends javax.annotation.processing.AbstractProcessor
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.internal.jxc.ap.AnnotationParser
super_class: javax.annotation.processing.AbstractProcessor
{
private com.sun.tools.internal.xjc.ErrorReceiver errorListener;
descriptor: Lcom/sun/tools/internal/xjc/ErrorReceiver;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.annotation.processing.AbstractProcessor.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/jxc/ap/AnnotationParser;
public void init(javax.annotation.processing.ProcessingEnvironment);
descriptor: (Ljavax/annotation/processing/ProcessingEnvironment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.annotation.processing.AbstractProcessor.init:(Ljavax/annotation/processing/ProcessingEnvironment;)V
1: aload 0
aload 1
putfield com.sun.tools.internal.jxc.ap.AnnotationParser.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
2: aload 0
new com.sun.tools.internal.jxc.ap.ErrorReceiverImpl
dup
3: aload 1
invokeinterface javax.annotation.processing.ProcessingEnvironment.getMessager:()Ljavax/annotation/processing/Messager;
4: aload 1
invokeinterface javax.annotation.processing.ProcessingEnvironment.getOptions:()Ljava/util/Map;
getstatic com.sun.tools.internal.jxc.ap.Const.DEBUG_OPTION:Lcom/sun/tools/internal/jxc/ap/Const;
invokevirtual com.sun.tools.internal.jxc.ap.Const.getValue:()Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
invokespecial com.sun.tools.internal.jxc.ap.ErrorReceiverImpl.<init>:(Ljavax/annotation/processing/Messager;Z)V
5: putfield com.sun.tools.internal.jxc.ap.AnnotationParser.errorListener:Lcom/sun/tools/internal/xjc/ErrorReceiver;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/internal/jxc/ap/AnnotationParser;
0 7 1 processingEnv Ljavax/annotation/processing/ProcessingEnvironment;
MethodParameters:
Name Flags
processingEnv
public 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: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.internal.jxc.ap.AnnotationParser.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
invokeinterface javax.annotation.processing.ProcessingEnvironment.getOptions:()Ljava/util/Map;
getstatic com.sun.tools.internal.jxc.ap.Const.CONFIG_FILE_OPTION:Lcom/sun/tools/internal/jxc/ap/Const;
invokevirtual com.sun.tools.internal.jxc.ap.Const.getValue:()Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 30
1: aload 0
getfield com.sun.tools.internal.jxc.ap.AnnotationParser.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
invokeinterface javax.annotation.processing.ProcessingEnvironment.getOptions:()Ljava/util/Map;
getstatic com.sun.tools.internal.jxc.ap.Const.CONFIG_FILE_OPTION:Lcom/sun/tools/internal/jxc/ap/Const;
invokevirtual com.sun.tools.internal.jxc.ap.Const.getValue:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 2: new java.util.StringTokenizer
dup
aload 3
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 3: aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 29
4: aload 0
getfield com.sun.tools.internal.jxc.ap.AnnotationParser.errorListener:Lcom/sun/tools/internal/xjc/ErrorReceiver;
aconst_null
getstatic com.sun.tools.internal.jxc.ap.Messages.OPERAND_MISSING:Lcom/sun/tools/internal/jxc/ap/Messages;
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic com.sun.tools.internal.jxc.ap.Const.CONFIG_FILE_OPTION:Lcom/sun/tools/internal/jxc/ap/Const;
invokevirtual com.sun.tools.internal.jxc.ap.Const.getValue:()Ljava/lang/String;
aastore
invokevirtual com.sun.tools.internal.jxc.ap.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.error:(Lorg/xml/sax/Locator;Ljava/lang/String;)V
5: iconst_1
ireturn
6: StackMap locals: java.lang.String java.util.StringTokenizer
StackMap stack:
new java.io.File
dup
aload 4
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5
start local 5 7: aload 5
invokevirtual java.io.File.exists:()Z
ifne 10
8: aload 0
getfield com.sun.tools.internal.jxc.ap.AnnotationParser.errorListener:Lcom/sun/tools/internal/xjc/ErrorReceiver;
aconst_null
getstatic com.sun.tools.internal.jxc.ap.Messages.NON_EXISTENT_FILE:Lcom/sun/tools/internal/jxc/ap/Messages;
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.internal.jxc.ap.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.error:(Lorg/xml/sax/Locator;Ljava/lang/String;)V
9: goto 29
10: StackMap locals: java.io.File
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 11: aload 0
aload 6
aload 2
invokeinterface javax.annotation.processing.RoundEnvironment.getRootElements:()Ljava/util/Set;
invokevirtual com.sun.tools.internal.jxc.ap.AnnotationParser.filterClass:(Ljava/util/Collection;Ljava/util/Collection;)V
12: new com.sun.tools.internal.jxc.ConfigReader
dup
13: aload 0
getfield com.sun.tools.internal.jxc.ap.AnnotationParser.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
14: aload 6
15: aload 5
16: aload 0
getfield com.sun.tools.internal.jxc.ap.AnnotationParser.errorListener:Lcom/sun/tools/internal/xjc/ErrorReceiver;
17: invokespecial com.sun.tools.internal.jxc.ConfigReader.<init>:(Ljavax/annotation/processing/ProcessingEnvironment;Ljava/util/Collection;Ljava/io/File;Lorg/xml/sax/ErrorHandler;)V
astore 7
start local 7 18: aload 7
invokevirtual com.sun.tools.internal.jxc.ConfigReader.getClassesToBeIncluded:()Ljava/util/Collection;
astore 8
start local 8 19: invokestatic com.sun.tools.internal.jxc.api.JXC.createJavaCompiler:()Lcom/sun/tools/internal/xjc/api/JavaCompiler;
20: aload 8
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
aconst_null
aload 0
getfield com.sun.tools.internal.jxc.ap.AnnotationParser.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
21: invokeinterface com.sun.tools.internal.xjc.api.JavaCompiler.bind:(Ljava/util/Collection;Ljava/util/Map;Ljava/lang/String;Ljavax/annotation/processing/ProcessingEnvironment;)Lcom/sun/tools/internal/xjc/api/J2SJAXBModel;
astore 9
start local 9 22: aload 7
invokevirtual com.sun.tools.internal.jxc.ConfigReader.getSchemaOutputResolver:()Ljavax/xml/bind/SchemaOutputResolver;
astore 10
start local 10 23: aload 9
aload 10
aload 0
getfield com.sun.tools.internal.jxc.ap.AnnotationParser.errorListener:Lcom/sun/tools/internal/xjc/ErrorReceiver;
invokeinterface com.sun.tools.internal.xjc.api.J2SJAXBModel.generateSchema:(Ljavax/xml/bind/SchemaOutputResolver;Lcom/sun/tools/internal/xjc/api/ErrorListener;)V
end local 10 end local 9 end local 8 end local 7 end local 6 24: goto 29
StackMap locals:
StackMap stack: java.io.IOException
25: astore 6
start local 6 26: aload 0
getfield com.sun.tools.internal.jxc.ap.AnnotationParser.errorListener:Lcom/sun/tools/internal/xjc/ErrorReceiver;
aload 6
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 6
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.error:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 6 27: goto 29
28: StackMap locals:
StackMap stack: org.xml.sax.SAXException
pop
end local 5 29: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 6
end local 4 end local 3 30: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lcom/sun/tools/internal/jxc/ap/AnnotationParser;
0 31 1 annotations Ljava/util/Set<+Ljavax/lang/model/element/TypeElement;>;
0 31 2 roundEnv Ljavax/annotation/processing/RoundEnvironment;
2 30 3 value Ljava/lang/String;
3 30 4 st Ljava/util/StringTokenizer;
7 29 5 configFile Ljava/io/File;
11 24 6 rootElements Ljava/util/Collection<Ljavax/lang/model/element/TypeElement;>;
18 24 7 configReader Lcom/sun/tools/internal/jxc/ConfigReader;
19 24 8 classesToBeIncluded Ljava/util/Collection<Lcom/sun/tools/internal/xjc/api/Reference;>;
22 24 9 model Lcom/sun/tools/internal/xjc/api/J2SJAXBModel;
23 24 10 schemaOutputResolver Ljavax/xml/bind/SchemaOutputResolver;
26 27 6 e Ljava/io/IOException;
Exception table:
from to target type
10 24 25 Class java.io.IOException
10 24 28 Class org.xml.sax.SAXException
Signature: (Ljava/util/Set<+Ljavax/lang/model/element/TypeElement;>;Ljavax/annotation/processing/RoundEnvironment;)Z
MethodParameters:
Name Flags
annotations
roundEnv
private void filterClass(java.util.Collection<javax.lang.model.element.TypeElement>, java.util.Collection<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/util/Collection;Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: com.sun.tools.internal.jxc.ap.AnnotationParser java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.Element
astore 3
start local 3 2: aload 3
invokeinterface javax.lang.model.element.Element.getKind:()Ljavax/lang/model/element/ElementKind;
getstatic javax.lang.model.element.ElementKind.CLASS:Ljavax/lang/model/element/ElementKind;
invokevirtual javax.lang.model.element.ElementKind.equals:(Ljava/lang/Object;)Z
ifne 4
aload 3
invokeinterface javax.lang.model.element.Element.getKind:()Ljavax/lang/model/element/ElementKind;
getstatic javax.lang.model.element.ElementKind.INTERFACE:Ljavax/lang/model/element/ElementKind;
invokevirtual javax.lang.model.element.ElementKind.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 3
invokeinterface javax.lang.model.element.Element.getKind:()Ljavax/lang/model/element/ElementKind;
getstatic javax.lang.model.element.ElementKind.ENUM:Ljavax/lang/model/element/ElementKind;
invokevirtual javax.lang.model.element.ElementKind.equals:(Ljava/lang/Object;)Z
ifeq 6
4: StackMap locals: com.sun.tools.internal.jxc.ap.AnnotationParser java.util.Collection java.util.Collection javax.lang.model.element.Element java.util.Iterator
StackMap stack:
aload 1
aload 3
checkcast javax.lang.model.element.TypeElement
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
5: aload 0
aload 1
aload 3
invokeinterface javax.lang.model.element.Element.getEnclosedElements:()Ljava/util/List;
invokestatic javax.lang.model.util.ElementFilter.typesIn:(Ljava/lang/Iterable;)Ljava/util/List;
invokevirtual com.sun.tools.internal.jxc.ap.AnnotationParser.filterClass:(Ljava/util/Collection;Ljava/util/Collection;)V
end local 3 6: StackMap locals: com.sun.tools.internal.jxc.ap.AnnotationParser java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/internal/jxc/ap/AnnotationParser;
0 8 1 rootElements Ljava/util/Collection<Ljavax/lang/model/element/TypeElement;>;
0 8 2 elements Ljava/util/Collection<+Ljavax/lang/model/element/Element;>;
2 6 3 element Ljavax/lang/model/element/Element;
Signature: (Ljava/util/Collection<Ljavax/lang/model/element/TypeElement;>;Ljava/util/Collection<+Ljavax/lang/model/element/Element;>;)V
MethodParameters:
Name Flags
rootElements
elements
public javax.lang.model.SourceVersion getSupportedSourceVersion();
descriptor: ()Ljavax/lang/model/SourceVersion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic javax.lang.model.SourceVersion.latest:()Ljavax/lang/model/SourceVersion;
getstatic javax.lang.model.SourceVersion.RELEASE_6:Ljavax/lang/model/SourceVersion;
invokevirtual javax.lang.model.SourceVersion.compareTo:(Ljava/lang/Enum;)I
ifle 2
1: ldc "RELEASE_7"
invokestatic javax.lang.model.SourceVersion.valueOf:(Ljava/lang/String;)Ljavax/lang/model/SourceVersion;
areturn
2: StackMap locals:
StackMap stack:
getstatic javax.lang.model.SourceVersion.RELEASE_6:Ljavax/lang/model/SourceVersion;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/jxc/ap/AnnotationParser;
}
SourceFile: "AnnotationParser.java"
RuntimeVisibleAnnotations:
javax.annotation.processing.SupportedAnnotationTypes(value = {"javax.xml.bind.annotation.*"})
javax.annotation.processing.SupportedOptions(value = {"jaxb.config"})