public interface reactor.util.context.ContextView
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: reactor.util.context.ContextView
super_class: java.lang.Object
{
public abstract <T> T get();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
key
public <T> T get(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface reactor.util.context.ContextView.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 3
2: aload 2
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
new java.util.NoSuchElementException
dup
new java.lang.StringBuilder
dup
ldc "Context does not contain a value of type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/util/context/ContextView;
0 4 1 key Ljava/lang/Class<TT;>;
1 4 2 v TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
key
public <T> T getOrDefault(, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface reactor.util.context.ContextView.hasKey:(Ljava/lang/Object;)Z
ifne 2
1: aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface reactor.util.context.ContextView.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/util/context/ContextView;
0 3 1 key Ljava/lang/Object;
0 3 2 defaultValue TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;TT;)TT;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
defaultValue
public <T> java.util.Optional<T> getOrEmpty();
descriptor: (Ljava/lang/Object;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface reactor.util.context.ContextView.hasKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
aload 1
invokeinterface reactor.util.context.ContextView.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/util/context/ContextView;
0 3 1 key Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;)Ljava/util/Optional<TT;>;
MethodParameters:
Name Flags
key
public abstract boolean hasKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
key
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface reactor.util.context.ContextView.size:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/util/context/ContextView;
public abstract int size();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.stream.Stream<java.util.Map$Entry<java.lang.Object, java.lang.Object>> stream();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/stream/Stream<Ljava/util/Map$Entry<Ljava/lang/Object;Ljava/lang/Object;>;>;
}
SourceFile: "ContextView.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map