public class com.sun.tools.internal.jxc.ap.SchemaGenerator extends javax.annotation.processing.AbstractProcessor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.jxc.ap.SchemaGenerator
super_class: javax.annotation.processing.AbstractProcessor
{
private final java.util.Map<java.lang.String, java.io.File> schemaLocations;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/io/File;>;
private java.io.File episodeFile;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.annotation.processing.AbstractProcessor.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.internal.jxc.ap.SchemaGenerator.schemaLocations:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/jxc/ap/SchemaGenerator;
public void <init>(java.util.Map<java.lang.String, java.io.File>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.annotation.processing.AbstractProcessor.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.internal.jxc.ap.SchemaGenerator.schemaLocations:Ljava/util/Map;
2: aload 0
getfield com.sun.tools.internal.jxc.ap.SchemaGenerator.schemaLocations:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/jxc/ap/SchemaGenerator;
0 4 1 m Ljava/util/Map<Ljava/lang/String;Ljava/io/File;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/io/File;>;)V
MethodParameters:
Name Flags
m
public void setEpisodeFile(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.internal.jxc.ap.SchemaGenerator.episodeFile:Ljava/io/File;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/jxc/ap/SchemaGenerator;
0 2 1 episodeFile Ljava/io/File;
MethodParameters:
Name Flags
episodeFile
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=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.tools.internal.jxc.ap.ErrorReceiverImpl
dup
aload 0
getfield com.sun.tools.internal.jxc.ap.SchemaGenerator.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
invokespecial com.sun.tools.internal.jxc.ap.ErrorReceiverImpl.<init>:(Ljavax/annotation/processing/ProcessingEnvironment;)V
astore 3
start local 3 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 2: aload 0
aload 4
aload 2
invokeinterface javax.annotation.processing.RoundEnvironment.getRootElements:()Ljava/util/Set;
invokevirtual com.sun.tools.internal.jxc.ap.SchemaGenerator.filterClass:(Ljava/util/List;Ljava/util/Collection;)V
3: invokestatic com.sun.tools.internal.jxc.api.JXC.createJavaCompiler:()Lcom/sun/tools/internal/xjc/api/JavaCompiler;
aload 4
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
aconst_null
aload 0
getfield com.sun.tools.internal.jxc.ap.SchemaGenerator.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
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 5
start local 5 4: aload 5
ifnonnull 6
5: iconst_0
ireturn
6: StackMap locals: com.sun.tools.internal.jxc.ap.ErrorReceiverImpl java.util.List com.sun.tools.internal.xjc.api.J2SJAXBModel
StackMap stack:
aload 5
7: new com.sun.tools.internal.jxc.ap.SchemaGenerator$1
dup
aload 0
invokespecial com.sun.tools.internal.jxc.ap.SchemaGenerator$1.<init>:(Lcom/sun/tools/internal/jxc/ap/SchemaGenerator;)V
8: aload 3
9: invokeinterface com.sun.tools.internal.xjc.api.J2SJAXBModel.generateSchema:(Ljavax/xml/bind/SchemaOutputResolver;Lcom/sun/tools/internal/xjc/api/ErrorListener;)V
10: aload 0
getfield com.sun.tools.internal.jxc.ap.SchemaGenerator.episodeFile:Ljava/io/File;
ifnull 16
11: aload 0
getfield com.sun.tools.internal.jxc.ap.SchemaGenerator.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
invokeinterface javax.annotation.processing.ProcessingEnvironment.getMessager:()Ljavax/annotation/processing/Messager;
getstatic javax.tools.Diagnostic$Kind.NOTE:Ljavax/tools/Diagnostic$Kind;
new java.lang.StringBuilder
dup
ldc "Writing "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.internal.jxc.ap.SchemaGenerator.episodeFile:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface javax.annotation.processing.Messager.printMessage:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/CharSequence;)V
12: aload 5
new javax.xml.transform.stream.StreamResult
dup
aload 0
getfield com.sun.tools.internal.jxc.ap.SchemaGenerator.episodeFile:Ljava/io/File;
invokespecial javax.xml.transform.stream.StreamResult.<init>:(Ljava/io/File;)V
invokeinterface com.sun.tools.internal.xjc.api.J2SJAXBModel.generateEpisodeFile:(Ljavax/xml/transform/Result;)V
13: goto 16
StackMap locals:
StackMap stack: java.io.IOException
14: astore 6
start local 6 15: aload 3
aload 6
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 6
invokevirtual com.sun.tools.internal.jxc.ap.ErrorReceiverImpl.error:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 6 16: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 17 0 this Lcom/sun/tools/internal/jxc/ap/SchemaGenerator;
0 17 1 annotations Ljava/util/Set<+Ljavax/lang/model/element/TypeElement;>;
0 17 2 roundEnv Ljavax/annotation/processing/RoundEnvironment;
1 17 3 errorListener Lcom/sun/tools/internal/jxc/ap/ErrorReceiverImpl;
2 17 4 classesToBeBound Ljava/util/List<Lcom/sun/tools/internal/xjc/api/Reference;>;
4 17 5 model Lcom/sun/tools/internal/xjc/api/J2SJAXBModel;
15 16 6 e Ljava/io/IOException;
Exception table:
from to target type
6 13 14 Class java.io.IOException
Signature: (Ljava/util/Set<+Ljavax/lang/model/element/TypeElement;>;Ljavax/annotation/processing/RoundEnvironment;)Z
MethodParameters:
Name Flags
annotations
roundEnv
private void filterClass(java.util.List<com.sun.tools.internal.xjc.api.Reference>, java.util.Collection<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/util/List;Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, 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.SchemaGenerator java.util.List 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;
astore 5
start local 5 3: getstatic javax.lang.model.element.ElementKind.CLASS:Ljavax/lang/model/element/ElementKind;
aload 5
invokevirtual javax.lang.model.element.ElementKind.equals:(Ljava/lang/Object;)Z
ifne 4
getstatic javax.lang.model.element.ElementKind.ENUM:Ljavax/lang/model/element/ElementKind;
aload 5
invokevirtual javax.lang.model.element.ElementKind.equals:(Ljava/lang/Object;)Z
ifeq 6
4: StackMap locals: com.sun.tools.internal.jxc.ap.SchemaGenerator java.util.List java.util.Collection javax.lang.model.element.Element java.util.Iterator javax.lang.model.element.ElementKind
StackMap stack:
aload 1
new com.sun.tools.internal.xjc.api.Reference
dup
aload 3
checkcast javax.lang.model.element.TypeElement
aload 0
getfield com.sun.tools.internal.jxc.ap.SchemaGenerator.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
invokespecial com.sun.tools.internal.xjc.api.Reference.<init>:(Ljavax/lang/model/element/TypeElement;Ljavax/annotation/processing/ProcessingEnvironment;)V
invokeinterface java.util.List.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.SchemaGenerator.filterClass:(Ljava/util/List;Ljava/util/Collection;)V
end local 5 end local 3 6: StackMap locals: com.sun.tools.internal.jxc.ap.SchemaGenerator java.util.List 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/SchemaGenerator;
0 8 1 result Ljava/util/List<Lcom/sun/tools/internal/xjc/api/Reference;>;
0 8 2 elements Ljava/util/Collection<+Ljavax/lang/model/element/Element;>;
2 6 3 element Ljavax/lang/model/element/Element;
3 6 5 kind Ljavax/lang/model/element/ElementKind;
Signature: (Ljava/util/List<Lcom/sun/tools/internal/xjc/api/Reference;>;Ljava/util/Collection<+Ljavax/lang/model/element/Element;>;)V
MethodParameters:
Name Flags
result
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/SchemaGenerator;
static javax.annotation.processing.ProcessingEnvironment access$0(com.sun.tools.internal.jxc.ap.SchemaGenerator);
descriptor: (Lcom/sun/tools/internal/jxc/ap/SchemaGenerator;)Ljavax/annotation/processing/ProcessingEnvironment;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield com.sun.tools.internal.jxc.ap.SchemaGenerator.processingEnv:Ljavax/annotation/processing/ProcessingEnvironment;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SchemaGenerator.java"
NestMembers:
com.sun.tools.internal.jxc.ap.SchemaGenerator$1
InnerClasses:
com.sun.tools.internal.jxc.ap.SchemaGenerator$1
public final Kind = javax.tools.Diagnostic$Kind of javax.tools.Diagnostic
RuntimeVisibleAnnotations:
javax.annotation.processing.SupportedAnnotationTypes(value = {"*"})