public abstract class java.util.spi.LocaleServiceProvider
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.util.spi.LocaleServiceProvider
super_class: java.lang.Object
{
private static java.lang.Void checkPermission();
descriptor: ()Ljava/lang/Void;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
new java.lang.RuntimePermission
dup
ldc "localeServiceProvider"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sm Ljava/lang/SecurityManager;
private void <init>(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/spi/LocaleServiceProvider;
0 1 1 ignore Ljava/lang/Void;
MethodParameters:
Name Flags
ignore
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.spi.LocaleServiceProvider.checkPermission:()Ljava/lang/Void;
invokespecial java.util.spi.LocaleServiceProvider.<init>:(Ljava/lang/Void;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/spi/LocaleServiceProvider;
public abstract java.util.Locale[] getAvailableLocales();
descriptor: ()[Ljava/util/Locale;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public boolean isSupportedLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.Locale.stripExtensions:()Ljava/util/Locale;
astore 1
1: aload 0
invokevirtual java.util.spi.LocaleServiceProvider.getAvailableLocales:()[Ljava/util/Locale;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: java.util.spi.LocaleServiceProvider java.util.Locale top int int java.util.Locale[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 1
aload 2
invokevirtual java.util.Locale.stripExtensions:()Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/spi/LocaleServiceProvider;
0 8 1 locale Ljava/util/Locale;
3 5 2 available Ljava/util/Locale;
MethodParameters:
Name Flags
locale
}
SourceFile: "LocaleServiceProvider.java"