public class java.lang.Package extends java.lang.NamedPackage implements java.lang.reflect.AnnotatedElement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.lang.Package
super_class: java.lang.NamedPackage
{
private final java.lang.Package$VersionInfo versionInfo;
descriptor: Ljava/lang/Package$VersionInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Class<?> packageInfo;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Package.packageName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
public java.lang.String getSpecificationTitle();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.specTitle:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
public java.lang.String getSpecificationVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.specVersion:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
public java.lang.String getSpecificationVendor();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.specVendor:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
public java.lang.String getImplementationTitle();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.implTitle:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
public java.lang.String getImplementationVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.implVersion:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
public java.lang.String getImplementationVendor();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.implVendor:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
public boolean isSealed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Package.module:()Ljava/lang/Module;
invokevirtual java.lang.Module.isNamed:()Z
ifne 1
aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.sealBase:Ljava/net/URL;
ifnonnull 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Package;
public boolean isSealed(java.net.URL);
descriptor: (Ljava/net/URL;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aconst_null
astore 2
start local 2 2: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getstatic java.lang.Package$VersionInfo.NULL_VERSION_INFO:Ljava/lang/Package$VersionInfo;
if_acmpeq 5
3: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.sealBase:Ljava/net/URL;
astore 2
4: goto 11
5: StackMap locals: java.net.URL
StackMap stack:
aload 0
invokevirtual java.lang.Package.location:()Ljava/net/URI;
astore 3
start local 3 6: aload 3
ifnull 7
aload 3
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
goto 8
StackMap locals: java.net.URI
StackMap stack:
7: aconst_null
StackMap locals:
StackMap stack: java.net.URL
8: astore 2
end local 3 9: goto 11
StackMap locals: java.lang.Package java.net.URL java.net.URL
StackMap stack: java.net.MalformedURLException
10: pop
11: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.net.URL.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/lang/Package;
0 12 1 url Ljava/net/URL;
2 12 2 sealBase Ljava/net/URL;
6 9 3 uri Ljava/net/URI;
Exception table:
from to target type
5 9 10 Class java.net.MalformedURLException
MethodParameters:
Name Flags
url
public boolean isCompatibleWith(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.specVersion:Ljava/lang/String;
ifnull 1
aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.specVersion:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpge 2
1: StackMap locals:
StackMap stack:
new java.lang.NumberFormatException
dup
ldc "Empty version string"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.specVersion:Ljava/lang/String;
ldc "\\."
iconst_m1
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
astore 2
start local 2 3: aload 2
arraylength
newarray 10
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 10
6: StackMap locals: java.lang.String[] int[] int
StackMap stack:
aload 3
iload 4
aload 2
iload 4
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
iastore
7: aload 3
iload 4
iaload
ifge 9
8: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
iload 4
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
bipush 10
invokestatic java.lang.NumberFormatException.forInputString:(Ljava/lang/String;I)Ljava/lang/NumberFormatException;
athrow
9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 2
arraylength
if_icmplt 6
end local 4 11: aload 1
ldc "\\."
iconst_m1
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
astore 4
start local 4 12: aload 4
arraylength
newarray 10
astore 5
start local 5 13: iconst_0
istore 6
start local 6 14: goto 19
15: StackMap locals: java.lang.Package java.lang.String java.lang.String[] int[] java.lang.String[] int[] int
StackMap stack:
aload 5
iload 6
aload 4
iload 6
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
iastore
16: aload 5
iload 6
iaload
ifge 18
17: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 5
iload 6
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
bipush 10
invokestatic java.lang.NumberFormatException.forInputString:(Ljava/lang/String;I)Ljava/lang/NumberFormatException;
athrow
18: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
aload 4
arraylength
if_icmplt 15
end local 6 20: aload 5
arraylength
aload 3
arraylength
invokestatic java.lang.Math.max:(II)I
istore 6
start local 6 21: iconst_0
istore 7
start local 7 22: goto 34
23: StackMap locals: int
StackMap stack:
iload 7
aload 5
arraylength
if_icmpge 24
aload 5
iload 7
iaload
goto 25
StackMap locals:
StackMap stack:
24: iconst_0
StackMap locals:
StackMap stack: int
25: istore 8
start local 8 26: iload 7
aload 3
arraylength
if_icmpge 27
aload 3
iload 7
iaload
goto 28
StackMap locals: int
StackMap stack:
27: iconst_0
StackMap locals:
StackMap stack: int
28: istore 9
start local 9 29: iload 9
iload 8
if_icmpge 31
30: iconst_0
ireturn
31: StackMap locals: int
StackMap stack:
iload 9
iload 8
if_icmple 33
32: iconst_1
ireturn
end local 9 end local 8 33: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
34: iload 7
iload 6
if_icmplt 23
end local 7 35: iconst_1
ireturn
end local 6 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 36 0 this Ljava/lang/Package;
0 36 1 desired Ljava/lang/String;
3 36 2 sa [Ljava/lang/String;
4 36 3 si [I
5 11 4 i I
12 36 4 da [Ljava/lang/String;
13 36 5 di [I
14 20 6 i I
21 36 6 len I
22 35 7 i I
26 33 8 d I
29 33 9 s I
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
desired
public static java.lang.Package getPackage(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Package;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
invokestatic java.lang.ClassLoader.getClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
aload 0
invokevirtual java.lang.ClassLoader.getPackage:(Ljava/lang/String;)Ljava/lang/Package;
goto 3
StackMap locals: java.lang.ClassLoader
StackMap stack:
2: aload 0
invokestatic jdk.internal.loader.BootLoader.getDefinedPackage:(Ljava/lang/String;)Ljava/lang/Package;
StackMap locals:
StackMap stack: java.lang.Package
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
1 4 1 l Ljava/lang/ClassLoader;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
java.lang.Deprecated(since = "9")
MethodParameters:
Name Flags
name
public static java.lang.Package[] getPackages();
descriptor: ()[Ljava/lang/Package;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
invokestatic java.lang.ClassLoader.getClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
astore 0
start local 0 1: aload 0
ifnull 2
aload 0
invokevirtual java.lang.ClassLoader.getPackages:()[Ljava/lang/Package;
goto 3
StackMap locals: java.lang.ClassLoader
StackMap stack:
2: invokestatic jdk.internal.loader.BootLoader.packages:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/IntFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(I)Ljava/lang/Object;
java/lang/Package.lambda$0(I)[Ljava/lang/Package; (6)
(I)[Ljava/lang/Package;
invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast java.lang.Package[]
StackMap locals:
StackMap stack: java.lang.Package[]
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 cl Ljava/lang/ClassLoader;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Package.packageName:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.specTitle:Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
getfield java.lang.Package$VersionInfo.specVersion:Ljava/lang/String;
astore 2
start local 2 2: aload 1
ifnull 4
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifne 4
3: new java.lang.StringBuilder
dup
ldc ", "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
goto 5
4: StackMap locals: java.lang.String java.lang.String
StackMap stack:
ldc ""
astore 1
5: StackMap locals:
StackMap stack:
aload 2
ifnull 7
aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifne 7
6: new java.lang.StringBuilder
dup
ldc ", version "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
goto 8
7: StackMap locals:
StackMap stack:
ldc ""
astore 2
8: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "package "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Package.packageName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/lang/Package;
1 9 1 spec Ljava/lang/String;
2 9 2 ver Ljava/lang/String;
private java.lang.Class<?> getPackageInfo();
descriptor: ()Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
getfield java.lang.Package.packageInfo:Ljava/lang/Class;
ifnonnull 13
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Package.packageName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".package-info"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 2: aload 0
invokevirtual java.lang.Package.module:()Ljava/lang/Module;
astore 2
start local 2 3: aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/lang/Module;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
java/lang/Module.getClassLoader()Ljava/lang/ClassLoader; (5)
()Ljava/lang/ClassLoader;
astore 3
start local 3 4: aload 3
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 5
start local 5 5: aload 5
ifnull 8
6: aload 5
aload 2
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/Module;Ljava/lang/String;)Ljava/lang/Class;
astore 6
start local 6 7: goto 9
end local 6 8: StackMap locals: java.lang.Package java.lang.String java.lang.Module java.security.PrivilegedAction top java.lang.ClassLoader
StackMap stack:
aload 2
aload 1
invokestatic jdk.internal.loader.BootLoader.loadClass:(Ljava/lang/Module;Ljava/lang/String;)Ljava/lang/Class;
astore 6
start local 6 9: StackMap locals: java.lang.Class
StackMap stack:
aload 6
ifnull 12
10: aload 0
aload 6
putfield java.lang.Package.packageInfo:Ljava/lang/Class;
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/lang/Package$1PackageInfoProxy;
putfield java.lang.Package.packageInfo:Ljava/lang/Class;
end local 6 end local 5 end local 3 end local 2 end local 1 13: StackMap locals: java.lang.Package
StackMap stack:
aload 0
getfield java.lang.Package.packageInfo:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/lang/Package;
2 13 1 cn Ljava/lang/String;
3 13 2 module Ljava/lang/Module;
4 13 3 pa Ljava/security/PrivilegedAction<Ljava/lang/ClassLoader;>;
5 13 5 loader Ljava/lang/ClassLoader;
7 8 6 c Ljava/lang/Class<*>;
9 13 6 c Ljava/lang/Class<*>;
Signature: ()Ljava/lang/Class<*>;
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A>);
descriptor: (Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Package.getPackageInfo:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
0 1 1 annotationClass Ljava/lang/Class<TA;>;
Signature: <A::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TA;>;)TA;
MethodParameters:
Name Flags
annotationClass
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.lang.reflect.AnnotatedElement.isAnnotationPresent:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
0 1 1 annotationClass Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Z
MethodParameters:
Name Flags
annotationClass
public <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType(java.lang.Class<A>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Package.getPackageInfo:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.getAnnotationsByType:(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
0 1 1 annotationClass Ljava/lang/Class<TA;>;
Signature: <A::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TA;>;)[TA;
MethodParameters:
Name Flags
annotationClass
public java.lang.annotation.Annotation[] getAnnotations();
descriptor: ()[Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Package.getPackageInfo:()Ljava/lang/Class;
invokevirtual java.lang.Class.getAnnotations:()[Ljava/lang/annotation/Annotation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
public <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(java.lang.Class<A>);
descriptor: (Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Package.getPackageInfo:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.getDeclaredAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
0 1 1 annotationClass Ljava/lang/Class<TA;>;
Signature: <A::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TA;>;)TA;
MethodParameters:
Name Flags
annotationClass
public <A extends java.lang.annotation.Annotation> A[] getDeclaredAnnotationsByType(java.lang.Class<A>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Package.getPackageInfo:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.getDeclaredAnnotationsByType:(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
0 1 1 annotationClass Ljava/lang/Class<TA;>;
Signature: <A::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TA;>;)[TA;
MethodParameters:
Name Flags
annotationClass
public java.lang.annotation.Annotation[] getDeclaredAnnotations();
descriptor: ()[Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Package.getPackageInfo:()Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Package;
void <init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.net.URL, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;Ljava/lang/ClassLoader;)V
flags: (0x0000)
Code:
stack=8, locals=10, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
1: aload 9
ifnull 2
aload 9
invokevirtual java.lang.ClassLoader.getUnnamedModule:()Ljava/lang/Module;
goto 3
2: StackMap locals: uninitialized-this java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.net.URL java.lang.ClassLoader
StackMap stack: uninitialized-this java.lang.String
invokestatic jdk.internal.loader.BootLoader.getUnnamedModule:()Ljava/lang/Module;
StackMap locals: uninitialized-this java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.net.URL java.lang.ClassLoader
StackMap stack: uninitialized-this java.lang.String java.lang.Module
3: invokespecial java.lang.NamedPackage.<init>:(Ljava/lang/String;Ljava/lang/Module;)V
4: aload 0
aload 2
aload 3
5: aload 4
aload 5
6: aload 6
aload 7
7: aload 8
8: invokestatic java.lang.Package$VersionInfo.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;)Ljava/lang/Package$VersionInfo;
putfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
9: return
end local 9 end local 8 end local 7 end local 6 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 10 0 this Ljava/lang/Package;
0 10 1 name Ljava/lang/String;
0 10 2 spectitle Ljava/lang/String;
0 10 3 specversion Ljava/lang/String;
0 10 4 specvendor Ljava/lang/String;
0 10 5 impltitle Ljava/lang/String;
0 10 6 implversion Ljava/lang/String;
0 10 7 implvendor Ljava/lang/String;
0 10 8 sealbase Ljava/net/URL;
0 10 9 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
name
spectitle
specversion
specvendor
impltitle
implversion
implvendor
sealbase
loader
void <init>(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial java.lang.NamedPackage.<init>:(Ljava/lang/String;Ljava/lang/Module;)V
1: aload 0
getstatic java.lang.Package$VersionInfo.NULL_VERSION_INFO:Ljava/lang/Package$VersionInfo;
putfield java.lang.Package.versionInfo:Ljava/lang/Package$VersionInfo;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Package;
0 3 1 name Ljava/lang/String;
0 3 2 module Ljava/lang/Module;
MethodParameters:
Name Flags
name
module
private static java.lang.Package[] lambda$0(int);
descriptor: (I)[Ljava/lang/Package;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: iload 0
anewarray java.lang.Package
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Package.java"
NestMembers:
java.lang.Package$1PackageInfoProxy java.lang.Package$VersionInfo
InnerClasses:
PackageInfoProxy = java.lang.Package$1PackageInfoProxy
VersionInfo = java.lang.Package$VersionInfo of java.lang.Package
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles