public final class com.sun.tools.internal.xjc.reader.ExtensionBindingChecker extends com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.internal.xjc.reader.ExtensionBindingChecker
super_class: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker
{
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, com.sun.tools.internal.xjc.Options, org.xml.sax.ErrorHandler);
descriptor: (Ljava/lang/String;Lcom/sun/tools/internal/xjc/Options;Lorg/xml/sax/ErrorHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.<init>:(Ljava/lang/String;Lcom/sun/tools/internal/xjc/Options;Lorg/xml/sax/ErrorHandler;)V
1: aload 0
iconst_0
putfield com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.count:I
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/reader/ExtensionBindingChecker;
0 3 1 schemaLanguage Ljava/lang/String;
0 3 2 options Lcom/sun/tools/internal/xjc/Options;
0 3 3 handler Lorg/xml/sax/ErrorHandler;
MethodParameters:
Name Flags
schemaLanguage
options
handler
private boolean needsToBePruned(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.schemaLanguage:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "http://java.sun.com/xml/ns/jaxb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.enabledExtensions:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.isRecognizableExtension:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/internal/xjc/reader/ExtensionBindingChecker;
0 7 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
public void startDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.startDocument:()V
1: aload 0
iconst_0
putfield com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.count:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/reader/ExtensionBindingChecker;
Exceptions:
throws org.xml.sax.SAXException
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=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.isCutting:()Z
ifne 21
1: aload 4
ldc "http://java.sun.com/xml/ns/jaxb"
ldc "extensionBindingPrefixes"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 2: aload 5
ifnull 15
3: aload 0
getfield com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.count:I
ifeq 5
4: aload 0
getstatic com.sun.tools.internal.xjc.reader.Messages.ERR_UNEXPECTED_EXTENSION_BINDING_PREFIXES:Lcom/sun/tools/internal/xjc/reader/Messages;
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.internal.xjc.reader.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.error:(Ljava/lang/String;)Lorg/xml/sax/SAXParseException;
pop
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.allowExtensions:Z
ifne 7
6: aload 0
getstatic com.sun.tools.internal.xjc.reader.Messages.ERR_VENDOR_EXTENSION_DISALLOWED_IN_STRICT_MODE:Lcom/sun/tools/internal/xjc/reader/Messages;
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.internal.xjc.reader.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.error:(Ljava/lang/String;)Lorg/xml/sax/SAXParseException;
pop
7: StackMap locals:
StackMap stack:
new java.util.StringTokenizer
dup
aload 5
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 6
start local 6 8: goto 14
9: StackMap locals: java.util.StringTokenizer
StackMap stack:
aload 6
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 7
start local 7 10: aload 0
getfield com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.nsSupport:Lorg/xml/sax/helpers/NamespaceSupport;
aload 7
invokevirtual org.xml.sax.helpers.NamespaceSupport.getURI:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 11: aload 8
ifnonnull 13
12: aload 0
getstatic com.sun.tools.internal.xjc.reader.Messages.ERR_UNDECLARED_PREFIX:Lcom/sun/tools/internal/xjc/reader/Messages;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
invokevirtual com.sun.tools.internal.xjc.reader.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.error:(Ljava/lang/String;)Lorg/xml/sax/SAXParseException;
pop
goto 14
13: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 8
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.checkAndEnable:(Ljava/lang/String;)V
end local 8 end local 7 14: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 9
end local 6 15: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.needsToBePruned:(Ljava/lang/String;)Z
ifeq 20
16: aload 0
aload 1
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.isRecognizableExtension:(Ljava/lang/String;)Z
ifeq 18
17: aload 0
getstatic com.sun.tools.internal.xjc.reader.Messages.ERR_SUPPORTED_EXTENSION_IGNORED:Lcom/sun/tools/internal/xjc/reader/Messages;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual com.sun.tools.internal.xjc.reader.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.warning:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.startCutting:()V
19: goto 21
20: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.verifyTagName:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 5 21: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.count:I
iconst_1
iadd
putfield com.sun.tools.internal.xjc.reader.ExtensionBindingChecker.count:I
22: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.startElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
23: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/tools/internal/xjc/reader/ExtensionBindingChecker;
0 24 1 namespaceURI Ljava/lang/String;
0 24 2 localName Ljava/lang/String;
0 24 3 qName Ljava/lang/String;
0 24 4 atts Lorg/xml/sax/Attributes;
2 21 5 v Ljava/lang/String;
8 15 6 tokens Ljava/util/StringTokenizer;
10 14 7 prefix Ljava/lang/String;
11 14 8 uri Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
namespaceURI
localName
qName
atts
}
SourceFile: "ExtensionBindingChecker.java"