public abstract class com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker extends com.sun.tools.internal.xjc.util.SubtreeCutter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker
super_class: com.sun.tools.internal.xjc.util.SubtreeCutter
{
protected final org.xml.sax.helpers.NamespaceSupport nsSupport;
descriptor: Lorg/xml/sax/helpers/NamespaceSupport;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.Set<java.lang.String> enabledExtensions;
descriptor: Ljava/util/Set;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Set<java.lang.String> recognizableExtensions;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private org.xml.sax.Locator locator;
descriptor: Lorg/xml/sax/Locator;
flags: (0x0002) ACC_PRIVATE
protected final java.lang.String schemaLanguage;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean allowExtensions;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final com.sun.tools.internal.xjc.Options options;
descriptor: Lcom/sun/tools/internal/xjc/Options;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.sun.tools.internal.xjc.util.SubtreeCutter.<init>:()V
1: aload 0
new org.xml.sax.helpers.NamespaceSupport
dup
invokespecial org.xml.sax.helpers.NamespaceSupport.<init>:()V
putfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.nsSupport:Lorg/xml/sax/helpers/NamespaceSupport;
2: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.enabledExtensions:Ljava/util/Set;
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.recognizableExtensions:Ljava/util/Set;
4: aload 0
aload 1
putfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.schemaLanguage:Ljava/lang/String;
5: aload 0
aload 2
getfield com.sun.tools.internal.xjc.Options.compatibilityMode:I
iconst_1
if_icmpeq 6
iconst_1
goto 7
StackMap locals: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker java.lang.String com.sun.tools.internal.xjc.Options org.xml.sax.ErrorHandler
StackMap stack: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker
6: iconst_0
StackMap locals: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker java.lang.String com.sun.tools.internal.xjc.Options org.xml.sax.ErrorHandler
StackMap stack: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker int
7: putfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.allowExtensions:Z
8: aload 0
aload 2
putfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.options:Lcom/sun/tools/internal/xjc/Options;
9: aload 0
aload 3
invokevirtual com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
10: aload 2
invokevirtual com.sun.tools.internal.xjc.Options.getAllPlugins:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 13
StackMap locals: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker java.lang.String com.sun.tools.internal.xjc.Options org.xml.sax.ErrorHandler top java.util.Iterator
StackMap stack:
11: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.Plugin
astore 4
start local 4 12: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.recognizableExtensions:Ljava/util/Set;
aload 4
invokevirtual com.sun.tools.internal.xjc.Plugin.getCustomizationURIs:()Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 4 13: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
14: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.recognizableExtensions:Ljava/util/Set;
ldc "http://java.sun.com/xml/ns/jaxb/xjc"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/tools/internal/xjc/reader/AbstractExtensionBindingChecker;
0 16 1 schemaLanguage Ljava/lang/String;
0 16 2 options Lcom/sun/tools/internal/xjc/Options;
0 16 3 handler Lorg/xml/sax/ErrorHandler;
12 13 4 plugin Lcom/sun/tools/internal/xjc/Plugin;
MethodParameters:
Name Flags
schemaLanguage
options
handler
protected final void checkAndEnable(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.isRecognizableExtension:(Ljava/lang/String;)Z
ifne 4
1: aload 1
aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.recognizableExtensions:Ljava/util/Set;
invokestatic com.sun.xml.internal.bind.v2.util.EditDistance.findNearest:(Ljava/lang/String;Ljava/util/Collection;)Ljava/lang/String;
astore 2
start local 2 2: aload 0
getstatic com.sun.tools.internal.xjc.reader.Messages.ERR_UNSUPPORTED_EXTENSION:Lcom/sun/tools/internal/xjc/reader/Messages;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual com.sun.tools.internal.xjc.reader.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.error:(Ljava/lang/String;)Lorg/xml/sax/SAXParseException;
pop
end local 2 3: goto 15
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.isSupportedExtension:(Ljava/lang/String;)Z
ifne 15
5: aconst_null
astore 2
start local 2 6: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.options:Lcom/sun/tools/internal/xjc/Options;
invokevirtual com.sun.tools.internal.xjc.Options.getAllPlugins:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker java.lang.String com.sun.tools.internal.xjc.Plugin top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.Plugin
astore 3
start local 3 8: aload 3
invokevirtual com.sun.tools.internal.xjc.Plugin.getCustomizationURIs:()Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 11
9: aload 3
astore 2
10: goto 12
end local 3 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: StackMap locals: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker java.lang.String com.sun.tools.internal.xjc.Plugin
StackMap stack:
aload 2
ifnull 14
13: aload 0
getstatic com.sun.tools.internal.xjc.reader.Messages.ERR_PLUGIN_NOT_ENABLED:Lcom/sun/tools/internal/xjc/reader/Messages;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual com.sun.tools.internal.xjc.Plugin.getOptionName:()Ljava/lang/String;
aastore
dup
iconst_1
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.AbstractExtensionBindingChecker.error:(Ljava/lang/String;)Lorg/xml/sax/SAXParseException;
pop
goto 15
14: StackMap locals:
StackMap stack:
aload 0
getstatic com.sun.tools.internal.xjc.reader.Messages.ERR_UNSUPPORTED_EXTENSION: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.AbstractExtensionBindingChecker.error:(Ljava/lang/String;)Lorg/xml/sax/SAXParseException;
pop
end local 2 15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.enabledExtensions:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/tools/internal/xjc/reader/AbstractExtensionBindingChecker;
0 17 1 uri Ljava/lang/String;
2 3 2 nearest Ljava/lang/String;
6 15 2 owner Lcom/sun/tools/internal/xjc/Plugin;
8 11 3 p Lcom/sun/tools/internal/xjc/Plugin;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
uri
protected final void verifyTagName(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.options:Lcom/sun/tools/internal/xjc/Options;
getfield com.sun.tools.internal.xjc.Options.pluginURIs:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 11
1: iconst_0
istore 4
start local 4 2: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.options:Lcom/sun/tools/internal/xjc/Options;
getfield com.sun.tools.internal.xjc.Options.activePlugins:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker java.lang.String java.lang.String java.lang.String int top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.Plugin
astore 5
start local 5 4: aload 5
aload 1
aload 2
invokevirtual com.sun.tools.internal.xjc.Plugin.isCustomizationTagName:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 7
5: iconst_1
istore 4
6: goto 8
end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: StackMap locals: com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker java.lang.String java.lang.String java.lang.String int
StackMap stack:
iload 4
ifne 11
9: aload 0
getstatic com.sun.tools.internal.xjc.reader.Messages.ERR_ILLEGAL_CUSTOMIZATION_TAGNAME:Lcom/sun/tools/internal/xjc/reader/Messages;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual com.sun.tools.internal.xjc.reader.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.error:(Ljava/lang/String;)Lorg/xml/sax/SAXParseException;
pop
10: aload 0
invokevirtual com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.startCutting:()V
end local 4 11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/internal/xjc/reader/AbstractExtensionBindingChecker;
0 12 1 namespaceURI Ljava/lang/String;
0 12 2 localName Ljava/lang/String;
0 12 3 qName Ljava/lang/String;
2 11 4 correct Z
4 7 5 p Lcom/sun/tools/internal/xjc/Plugin;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
namespaceURI
localName
qName
protected final boolean isSupportedExtension(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "http://java.sun.com/xml/ns/jaxb/xjc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.options:Lcom/sun/tools/internal/xjc/Options;
getfield com.sun.tools.internal.xjc.Options.pluginURIs:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/reader/AbstractExtensionBindingChecker;
0 2 1 namespaceUri Ljava/lang/String;
MethodParameters:
Name Flags
namespaceUri
protected final boolean isRecognizableExtension(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.recognizableExtensions:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/reader/AbstractExtensionBindingChecker;
0 1 1 namespaceUri Ljava/lang/String;
MethodParameters:
Name Flags
namespaceUri
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 com.sun.tools.internal.xjc.util.SubtreeCutter.setDocumentLocator:(Lorg/xml/sax/Locator;)V
1: aload 0
aload 1
putfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.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/AbstractExtensionBindingChecker;
0 3 1 locator Lorg/xml/sax/Locator;
MethodParameters:
Name Flags
locator
public void startDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.tools.internal.xjc.util.SubtreeCutter.startDocument:()V
1: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.nsSupport:Lorg/xml/sax/helpers/NamespaceSupport;
invokevirtual org.xml.sax.helpers.NamespaceSupport.reset:()V
2: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.enabledExtensions:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/reader/AbstractExtensionBindingChecker;
Exceptions:
throws org.xml.sax.SAXException
public void startPrefixMapping(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "http://www.w3.org/XML/1998/namespace"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial com.sun.tools.internal.xjc.util.SubtreeCutter.startPrefixMapping:(Ljava/lang/String;Ljava/lang/String;)V
2: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.nsSupport:Lorg/xml/sax/helpers/NamespaceSupport;
invokevirtual org.xml.sax.helpers.NamespaceSupport.pushContext:()V
3: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.nsSupport:Lorg/xml/sax/helpers/NamespaceSupport;
aload 1
aload 2
invokevirtual org.xml.sax.helpers.NamespaceSupport.declarePrefix:(Ljava/lang/String;Ljava/lang/String;)Z
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/internal/xjc/reader/AbstractExtensionBindingChecker;
0 5 1 prefix Ljava/lang/String;
0 5 2 uri Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
prefix
uri
public void endPrefixMapping(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "xml"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.sun.tools.internal.xjc.util.SubtreeCutter.endPrefixMapping:(Ljava/lang/String;)V
2: aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.nsSupport:Lorg/xml/sax/helpers/NamespaceSupport;
invokevirtual org.xml.sax.helpers.NamespaceSupport.popContext:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/reader/AbstractExtensionBindingChecker;
0 4 1 prefix Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
prefix
protected final org.xml.sax.SAXParseException error(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/xml/sax/SAXParseException;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.xml.sax.SAXParseException
dup
aload 1
aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.locator:Lorg/xml/sax/Locator;
invokespecial org.xml.sax.SAXParseException.<init>:(Ljava/lang/String;Lorg/xml/sax/Locator;)V
astore 2
start local 2 1: aload 0
invokevirtual com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.getErrorHandler:()Lorg/xml/sax/ErrorHandler;
aload 2
invokeinterface org.xml.sax.ErrorHandler.error:(Lorg/xml/sax/SAXParseException;)V
2: aload 2
areturn
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/AbstractExtensionBindingChecker;
0 3 1 msg Ljava/lang/String;
1 3 2 spe Lorg/xml/sax/SAXParseException;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
msg
protected final void warning(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.xml.sax.SAXParseException
dup
aload 1
aload 0
getfield com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.locator:Lorg/xml/sax/Locator;
invokespecial org.xml.sax.SAXParseException.<init>:(Ljava/lang/String;Lorg/xml/sax/Locator;)V
astore 2
start local 2 1: aload 0
invokevirtual com.sun.tools.internal.xjc.reader.AbstractExtensionBindingChecker.getErrorHandler:()Lorg/xml/sax/ErrorHandler;
aload 2
invokeinterface org.xml.sax.ErrorHandler.warning:(Lorg/xml/sax/SAXParseException;)V
2: return
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/AbstractExtensionBindingChecker;
0 3 1 msg Ljava/lang/String;
1 3 2 spe Lorg/xml/sax/SAXParseException;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
msg
}
SourceFile: "AbstractExtensionBindingChecker.java"