public interface io.micronaut.core.value.OptionalValues<V> extends java.lang.Iterable<java.lang.CharSequence>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.micronaut.core.value.OptionalValues
super_class: java.lang.Object
{
public static final io.micronaut.core.value.OptionalValues EMPTY_VALUES;
descriptor: Lio/micronaut/core/value/OptionalValues;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljava/lang/Object;
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokestatic io.micronaut.core.value.OptionalValues.of:(Ljava/lang/Class;Ljava/util/Map;)Lio/micronaut/core/value/OptionalValues;
putstatic io.micronaut.core.value.OptionalValues.EMPTY_VALUES:Lio/micronaut/core/value/OptionalValues;
return
LocalVariableTable:
Start End Slot Name Signature
public abstract java.util.Optional<V> get(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/CharSequence;)Ljava/util/Optional<TV;>;
MethodParameters:
Name Flags
name
public abstract java.util.Collection<V> values();
descriptor: ()Ljava/util/Collection;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Collection<TV;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.micronaut.core.value.OptionalValues.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/micronaut/core/value/OptionalValues<TV;>;
public void forEach(java.util.function.BiConsumer<java.lang.CharSequence, ? super V>);
descriptor: (Ljava/util/function/BiConsumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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: aload 0
invokeinterface io.micronaut.core.value.OptionalValues.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: io.micronaut.core.value.OptionalValues java.util.function.BiConsumer top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.CharSequence
astore 2
start local 2 3: aload 0
aload 2
invokeinterface io.micronaut.core.value.OptionalValues.get:(Ljava/lang/CharSequence;)Ljava/util/Optional;
aload 1
aload 2
invokedynamic accept(Ljava/util/function/BiConsumer;Ljava/lang/CharSequence;)Ljava/util/function/Consumer;
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;)V
io/micronaut/core/value/OptionalValues.lambda$0(Ljava/util/function/BiConsumer;Ljava/lang/CharSequence;Ljava/lang/Object;)V (6 itf)
(Ljava/lang/Object;)V
invokevirtual java.util.Optional.ifPresent:(Ljava/util/function/Consumer;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/micronaut/core/value/OptionalValues<TV;>;
0 6 1 action Ljava/util/function/BiConsumer<Ljava/lang/CharSequence;-TV;>;
3 4 2 k Ljava/lang/CharSequence;
Signature: (Ljava/util/function/BiConsumer<Ljava/lang/CharSequence;-TV;>;)V
MethodParameters:
Name Flags
action
public static <T> io.micronaut.core.value.OptionalValues<T> empty();
descriptor: ()Lio/micronaut/core/value/OptionalValues;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.micronaut.core.value.OptionalValues.EMPTY_VALUES:Lio/micronaut/core/value/OptionalValues;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <T:Ljava/lang/Object;>()Lio/micronaut/core/value/OptionalValues<TT;>;
public static <T> io.micronaut.core.value.OptionalValues<T> of(java.lang.Class<T>, java.util.Map<java.lang.CharSequence, ?>);
descriptor: (Ljava/lang/Class;Ljava/util/Map;)Lio/micronaut/core/value/OptionalValues;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: invokestatic io.micronaut.core.value.OptionalValues.empty:()Lio/micronaut/core/value/OptionalValues;
areturn
2: StackMap locals:
StackMap stack:
new io.micronaut.core.value.OptionalValuesMap
dup
aload 0
aload 1
invokespecial io.micronaut.core.value.OptionalValuesMap.<init>:(Ljava/lang/Class;Ljava/util/Map;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type Ljava/lang/Class<TT;>;
0 3 1 values Ljava/util/Map<Ljava/lang/CharSequence;*>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/util/Map<Ljava/lang/CharSequence;*>;)Lio/micronaut/core/value/OptionalValues<TT;>;
RuntimeInvisibleParameterAnnotations:
0:
1:
edu.umd.cs.findbugs.annotations.Nullable()
MethodParameters:
Name Flags
type
values
private static void lambda$0(java.util.function.BiConsumer, java.lang.CharSequence, java.lang.Object);
descriptor: (Ljava/util/function/BiConsumer;Ljava/lang/CharSequence;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 0
aload 1
aload 2
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v TV;
}
Signature: <V:Ljava/lang/Object;>Ljava/lang/Object;Ljava/lang/Iterable<Ljava/lang/CharSequence;>;
SourceFile: "OptionalValues.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles