public class com.sun.tools.internal.xjc.reader.internalizer.VersionChecker extends org.xml.sax.helpers.XMLFilterImpl
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.xjc.reader.internalizer.VersionChecker
super_class: org.xml.sax.helpers.XMLFilterImpl
{
private java.lang.String version;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean seenRoot;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean seenBindings;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.xml.sax.Locator locator;
descriptor: Lorg/xml/sax/Locator;
flags: (0x0002) ACC_PRIVATE
private org.xml.sax.Locator rootTagStart;
descriptor: Lorg/xml/sax/Locator;
flags: (0x0002) ACC_PRIVATE
private static final java.util.Set<java.lang.String> VERSIONS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.util.HashSet
dup
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "1.0"
aastore
dup
iconst_1
ldc "2.0"
aastore
dup
iconst_2
ldc "2.1"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putstatic com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.VERSIONS:Ljava/util/Set;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.xml.sax.XMLReader);
descriptor: (Lorg/xml/sax/XMLReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.xml.sax.helpers.XMLFilterImpl.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.version:Ljava/lang/String;
2: aload 0
iconst_0
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.seenRoot:Z
3: aload 0
iconst_0
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.seenBindings:Z
4: aload 0
aload 1
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.setParent:(Lorg/xml/sax/XMLReader;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/VersionChecker;
0 6 1 parent Lorg/xml/sax/XMLReader;
MethodParameters:
Name Flags
parent
public void <init>(org.xml.sax.ContentHandler, org.xml.sax.ErrorHandler, org.xml.sax.EntityResolver);
descriptor: (Lorg/xml/sax/ContentHandler;Lorg/xml/sax/ErrorHandler;Lorg/xml/sax/EntityResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.xml.sax.helpers.XMLFilterImpl.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.version:Ljava/lang/String;
2: aload 0
iconst_0
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.seenRoot:Z
3: aload 0
iconst_0
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.seenBindings:Z
4: aload 0
aload 1
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.setContentHandler:(Lorg/xml/sax/ContentHandler;)V
5: aload 2
ifnull 6
aload 0
aload 2
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
6: StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.VersionChecker org.xml.sax.ContentHandler org.xml.sax.ErrorHandler org.xml.sax.EntityResolver
StackMap stack:
aload 3
ifnull 7
aload 0
aload 3
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.setEntityResolver:(Lorg/xml/sax/EntityResolver;)V
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/VersionChecker;
0 8 1 handler Lorg/xml/sax/ContentHandler;
0 8 2 eh Lorg/xml/sax/ErrorHandler;
0 8 3 er Lorg/xml/sax/EntityResolver;
MethodParameters:
Name Flags
handler
eh
er
public void startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.xml.sax.helpers.XMLFilterImpl.startElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
1: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.seenRoot:Z
ifne 14
2: aload 0
iconst_1
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.seenRoot:Z
3: aload 0
new org.xml.sax.helpers.LocatorImpl
dup
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.locator:Lorg/xml/sax/Locator;
invokespecial org.xml.sax.helpers.LocatorImpl.<init>:(Lorg/xml/sax/Locator;)V
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.rootTagStart:Lorg/xml/sax/Locator;
4: aload 0
aload 4
ldc "http://java.sun.com/xml/ns/jaxb"
ldc "version"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.version:Ljava/lang/String;
5: aload 1
ldc "http://java.sun.com/xml/ns/jaxb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
6: aload 4
ldc ""
ldc "version"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 7: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.version:Ljava/lang/String;
ifnull 12
aload 5
ifnull 12
8: new org.xml.sax.SAXParseException
dup
9: ldc "Internalizer.TwoVersionAttributes"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.reader.internalizer.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.locator:Lorg/xml/sax/Locator;
10: invokespecial org.xml.sax.SAXParseException.<init>:(Ljava/lang/String;Lorg/xml/sax/Locator;)V
astore 6
start local 6 11: aload 0
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.getErrorHandler:()Lorg/xml/sax/ErrorHandler;
aload 6
invokeinterface org.xml.sax.ErrorHandler.error:(Lorg/xml/sax/SAXParseException;)V
end local 6 12: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.version:Ljava/lang/String;
ifnonnull 14
13: aload 0
aload 5
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.version:Ljava/lang/String;
end local 5 14: StackMap locals:
StackMap stack:
ldc "http://java.sun.com/xml/ns/jaxb"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
15: aload 0
iconst_1
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.seenBindings:Z
16: StackMap locals:
StackMap stack:
return
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/xjc/reader/internalizer/VersionChecker;
0 17 1 namespaceURI Ljava/lang/String;
0 17 2 localName Ljava/lang/String;
0 17 3 qName Ljava/lang/String;
0 17 4 atts Lorg/xml/sax/Attributes;
7 14 5 version2 Ljava/lang/String;
11 12 6 e Lorg/xml/sax/SAXParseException;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
namespaceURI
localName
qName
atts
public void endDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.xml.sax.helpers.XMLFilterImpl.endDocument:()V
1: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.seenBindings:Z
ifeq 6
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.version:Ljava/lang/String;
ifnonnull 6
2: new org.xml.sax.SAXParseException
dup
3: ldc "Internalizer.VersionNotPresent"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.reader.internalizer.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.rootTagStart:Lorg/xml/sax/Locator;
4: invokespecial org.xml.sax.SAXParseException.<init>:(Ljava/lang/String;Lorg/xml/sax/Locator;)V
astore 1
start local 1 5: aload 0
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.getErrorHandler:()Lorg/xml/sax/ErrorHandler;
aload 1
invokeinterface org.xml.sax.ErrorHandler.error:(Lorg/xml/sax/SAXParseException;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.version:Ljava/lang/String;
ifnull 11
getstatic com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.VERSIONS:Ljava/util/Set;
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.version:Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 11
7: new org.xml.sax.SAXParseException
dup
8: ldc "Internalizer.IncorrectVersion"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.reader.internalizer.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.rootTagStart:Lorg/xml/sax/Locator;
9: invokespecial org.xml.sax.SAXParseException.<init>:(Ljava/lang/String;Lorg/xml/sax/Locator;)V
astore 1
start local 1 10: aload 0
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.getErrorHandler:()Lorg/xml/sax/ErrorHandler;
aload 1
invokeinterface org.xml.sax.ErrorHandler.error:(Lorg/xml/sax/SAXParseException;)V
end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/VersionChecker;
5 6 1 e Lorg/xml/sax/SAXParseException;
10 11 1 e Lorg/xml/sax/SAXParseException;
Exceptions:
throws org.xml.sax.SAXException
public void setDocumentLocator(org.xml.sax.Locator);
descriptor: (Lorg/xml/sax/Locator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.xml.sax.helpers.XMLFilterImpl.setDocumentLocator:(Lorg/xml/sax/Locator;)V
1: aload 0
aload 1
putfield com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.locator:Lorg/xml/sax/Locator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/VersionChecker;
0 3 1 locator Lorg/xml/sax/Locator;
MethodParameters:
Name Flags
locator
}
SourceFile: "VersionChecker.java"