public class org.hibernate.boot.jaxb.internal.UrlXmlSource extends org.hibernate.boot.jaxb.spi.XmlSource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.boot.jaxb.internal.UrlXmlSource
super_class: org.hibernate.boot.jaxb.spi.XmlSource
{
private final java.net.URL url;
descriptor: Ljava/net/URL;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.hibernate.boot.jaxb.Origin, java.net.URL);
descriptor: (Lorg/hibernate/boot/jaxb/Origin;Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 // org.hibernate.boot.jaxb.internal.UrlXmlSource this
start local 1 // org.hibernate.boot.jaxb.Origin origin
start local 2 // java.net.URL url
0: .line 28
aload 0 /* this */
aload 1 /* origin */
invokespecial org.hibernate.boot.jaxb.spi.XmlSource.<init>:(Lorg/hibernate/boot/jaxb/Origin;)V
1: .line 29
aload 0 /* this */
aload 2 /* url */
putfield org.hibernate.boot.jaxb.internal.UrlXmlSource.url:Ljava/net/URL;
2: .line 30
return
end local 2 // java.net.URL url
end local 1 // org.hibernate.boot.jaxb.Origin origin
end local 0 // org.hibernate.boot.jaxb.internal.UrlXmlSource this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/boot/jaxb/internal/UrlXmlSource;
0 3 1 origin Lorg/hibernate/boot/jaxb/Origin;
0 3 2 url Ljava/net/URL;
MethodParameters:
Name Flags
origin
url
public org.hibernate.boot.jaxb.spi.Binding doBind(org.hibernate.boot.jaxb.spi.Binder);
descriptor: (Lorg/hibernate/boot/jaxb/spi/Binder;)Lorg/hibernate/boot/jaxb/spi/Binding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 // org.hibernate.boot.jaxb.internal.UrlXmlSource this
start local 1 // org.hibernate.boot.jaxb.spi.Binder binder
0: .line 35
aload 0 /* this */
getfield org.hibernate.boot.jaxb.internal.UrlXmlSource.url:Ljava/net/URL;
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 2 /* stream */
start local 2 // java.io.InputStream stream
1: .line 36
aload 1 /* binder */
aload 2 /* stream */
aload 0 /* this */
invokevirtual org.hibernate.boot.jaxb.internal.UrlXmlSource.getOrigin:()Lorg/hibernate/boot/jaxb/Origin;
iconst_1
invokestatic org.hibernate.boot.jaxb.internal.InputStreamXmlSource.doBind:(Lorg/hibernate/boot/jaxb/spi/Binder;Ljava/io/InputStream;Lorg/hibernate/boot/jaxb/Origin;Z)Lorg/hibernate/boot/jaxb/spi/Binding;
2: areturn
end local 2 // java.io.InputStream stream
3: .line 38
StackMap locals:
StackMap stack: java.net.UnknownHostException
astore 2 /* e */
start local 2 // java.net.UnknownHostException e
4: .line 39
new org.hibernate.boot.MappingNotFoundException
dup
ldc "Invalid URL"
aload 2 /* e */
aload 0 /* this */
invokevirtual org.hibernate.boot.jaxb.internal.UrlXmlSource.getOrigin:()Lorg/hibernate/boot/jaxb/Origin;
invokespecial org.hibernate.boot.MappingNotFoundException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lorg/hibernate/boot/jaxb/Origin;)V
athrow
end local 2 // java.net.UnknownHostException e
5: .line 41
StackMap locals:
StackMap stack: java.io.IOException
astore 2 /* e */
start local 2 // java.io.IOException e
6: .line 42
new org.hibernate.boot.MappingException
dup
ldc "Unable to open URL InputStream"
aload 2 /* e */
aload 0 /* this */
invokevirtual org.hibernate.boot.jaxb.internal.UrlXmlSource.getOrigin:()Lorg/hibernate/boot/jaxb/Origin;
invokespecial org.hibernate.boot.MappingException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lorg/hibernate/boot/jaxb/Origin;)V
athrow
end local 2 // java.io.IOException e
end local 1 // org.hibernate.boot.jaxb.spi.Binder binder
end local 0 // org.hibernate.boot.jaxb.internal.UrlXmlSource this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/boot/jaxb/internal/UrlXmlSource;
0 7 1 binder Lorg/hibernate/boot/jaxb/spi/Binder;
1 3 2 stream Ljava/io/InputStream;
4 5 2 e Ljava/net/UnknownHostException;
6 7 2 e Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.net.UnknownHostException
0 2 5 Class java.io.IOException
MethodParameters:
Name Flags
binder
}
SourceFile: "UrlXmlSource.java"