interface sun.util.locale.provider.SPILocaleProviderAdapter$Delegate<P extends java.util.spi.LocaleServiceProvider>
minor version: 0
major version: 59
flags: flags: (0x0600) ACC_INTERFACE, ACC_ABSTRACT
this_class: sun.util.locale.provider.SPILocaleProviderAdapter$Delegate
super_class: java.lang.Object
{
public void addImpl();
descriptor: (Ljava/util/spi/LocaleServiceProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.spi.LocaleServiceProvider.getAvailableLocales:()[Ljava/util/Locale;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: sun.util.locale.provider.SPILocaleProviderAdapter$Delegate java.util.spi.LocaleServiceProvider top int int java.util.Locale[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
invokeinterface sun.util.locale.provider.SPILocaleProviderAdapter$Delegate.getDelegateMap:()Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/util/locale/provider/SPILocaleProviderAdapter$Delegate<TP;>;
0 6 1 impl TP;
2 3 2 l Ljava/util/Locale;
Signature: (TP;)V
MethodParameters:
Name Flags
impl
public P getImpl(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/spi/LocaleServiceProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.Locale.stripExtensions:()Ljava/util/Locale;
invokestatic sun.util.locale.provider.LocaleServiceProviderPool.getLookupLocales:(Ljava/util/Locale;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: sun.util.locale.provider.SPILocaleProviderAdapter$Delegate java.util.Locale top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Locale
astore 2
start local 2 2: aload 0
invokeinterface sun.util.locale.provider.SPILocaleProviderAdapter$Delegate.getDelegateMap:()Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
areturn
end local 4 end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/util/locale/provider/SPILocaleProviderAdapter$Delegate<TP;>;
0 7 1 locale Ljava/util/Locale;
2 5 2 l Ljava/util/Locale;
3 5 4 ret TP;
Signature: (Ljava/util/Locale;)TP;
MethodParameters:
Name Flags
locale
public abstract java.util.Map<java.util.Locale, P> getDelegateMap();
descriptor: ()Ljava/util/Map;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Map<Ljava/util/Locale;TP;>;
public java.util.Locale[] getAvailableLocalesDelegate();
descriptor: ()[Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface sun.util.locale.provider.SPILocaleProviderAdapter$Delegate.getDelegateMap:()Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
iconst_0
anewarray java.util.Locale
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.util.Locale[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/SPILocaleProviderAdapter$Delegate<TP;>;
public boolean isSupportedLocaleDelegate(java.util.Locale);
descriptor: (Ljava/util/Locale;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface sun.util.locale.provider.SPILocaleProviderAdapter$Delegate.getDelegateMap:()Ljava/util/Map;
astore 2
start local 2 1: aload 1
invokestatic sun.util.locale.provider.CalendarDataUtility.findRegionOverride:(Ljava/util/Locale;)Ljava/util/Locale;
astore 3
start local 3 2: aload 2
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
aload 3
invokevirtual java.util.spi.LocaleServiceProvider.isSupportedLocale:(Ljava/util/Locale;)Z
ireturn
5: StackMap locals: java.util.Map java.util.Locale java.util.spi.LocaleServiceProvider
StackMap stack:
aload 3
invokevirtual java.util.Locale.stripExtensions:()Ljava/util/Locale;
astore 5
start local 5 6: aload 2
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 4
7: aload 4
ifnull 11
8: aload 4
invokevirtual java.util.spi.LocaleServiceProvider.getAvailableLocales:()[Ljava/util/Locale;
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
9: aload 5
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic test(Ljava/util/Locale;)Ljava/util/function/Predicate;
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;)Z
java/util/Locale.equals(Ljava/lang/Object;)Z (5)
(Ljava/util/Locale;)Z
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
10: ireturn
end local 5 11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/util/locale/provider/SPILocaleProviderAdapter$Delegate<TP;>;
0 12 1 locale Ljava/util/Locale;
1 12 2 map Ljava/util/Map<Ljava/util/Locale;TP;>;
2 12 3 override Ljava/util/Locale;
3 12 4 impl TP;
6 11 5 overrideNoExt Ljava/util/Locale;
MethodParameters:
Name Flags
locale
}
Signature: <P:Ljava/util/spi/LocaleServiceProvider;>Ljava/lang/Object;
SourceFile: "SPILocaleProviderAdapter.java"
NestHost: sun.util.locale.provider.SPILocaleProviderAdapter
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private abstract Delegate = sun.util.locale.provider.SPILocaleProviderAdapter$Delegate of sun.util.locale.provider.SPILocaleProviderAdapter