public final class org.springframework.boot.context.properties.bind.BindResult<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.springframework.boot.context.properties.bind.BindResult
super_class: java.lang.Object
{
private static final org.springframework.boot.context.properties.bind.BindResult<?> UNBOUND;
descriptor: Lorg/springframework/boot/context/properties/bind/BindResult;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/springframework/boot/context/properties/bind/BindResult<*>;
private final T value;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.springframework.boot.context.properties.bind.BindResult
dup
aconst_null
invokespecial org.springframework.boot.context.properties.bind.BindResult.<init>:(Ljava/lang/Object;)V
putstatic org.springframework.boot.context.properties.bind.BindResult.UNBOUND:Lorg/springframework/boot/context/properties/bind/BindResult;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
0 3 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
public T get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
ifnonnull 2
1: new java.util.NoSuchElementException
dup
ldc "No value bound"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
Exceptions:
throws java.util.NoSuchElementException
Signature: ()TT;
public boolean isBound();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
ifnull 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 Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
public void ifBound(java.util.function.Consumer<? super T>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Consumer must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
ifnull 3
2: aload 1
aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
0 4 1 consumer Ljava/util/function/Consumer<-TT;>;
Signature: (Ljava/util/function/Consumer<-TT;>;)V
MethodParameters:
Name Flags
consumer
public <U> org.springframework.boot.context.properties.bind.BindResult<U> map(java.util.function.Function<? super T, ? extends U>);
descriptor: (Ljava/util/function/Function;)Lorg/springframework/boot/context/properties/bind/BindResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Mapper must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
ifnull 2
aload 1
aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
goto 3
StackMap locals:
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
3: invokestatic org.springframework.boot.context.properties.bind.BindResult.of:(Ljava/lang/Object;)Lorg/springframework/boot/context/properties/bind/BindResult;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
0 4 1 mapper Ljava/util/function/Function<-TT;+TU;>;
Signature: <U:Ljava/lang/Object;>(Ljava/util/function/Function<-TT;+TU;>;)Lorg/springframework/boot/context/properties/bind/BindResult<TU;>;
MethodParameters:
Name Flags
mapper
public T orElse();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
ifnull 1
aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
0 3 1 other TT;
Signature: (TT;)TT;
MethodParameters:
Name Flags
other
public T orElseGet(java.util.function.Supplier<? extends T>);
descriptor: (Ljava/util/function/Supplier;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
ifnull 1
aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
0 3 1 other Ljava/util/function/Supplier<+TT;>;
Signature: (Ljava/util/function/Supplier<+TT;>;)TT;
MethodParameters:
Name Flags
other
public <X extends java.lang.Throwable> T orElseThrow(java.util.function.Supplier<? extends X>) throws X;
descriptor: (Ljava/util/function/Supplier;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
ifnonnull 2
1: aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
0 3 1 exceptionSupplier Ljava/util/function/Supplier<+TX;>;
Exceptions:
throws java.lang.Throwable
Signature: <X:Ljava/lang/Throwable;>(Ljava/util/function/Supplier<+TX;>;)TT;^TX;
MethodParameters:
Name Flags
exceptionSupplier
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
aload 1
checkcast org.springframework.boot.context.properties.bind.BindResult
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
invokestatic org.springframework.util.ObjectUtils.nullSafeEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.bind.BindResult.value:Ljava/lang/Object;
invokestatic org.springframework.util.ObjectUtils.nullSafeHashCode:(Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
static <T> org.springframework.boot.context.properties.bind.BindResult<T> of(T);
descriptor: (Ljava/lang/Object;)Lorg/springframework/boot/context/properties/bind/BindResult;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: getstatic org.springframework.boot.context.properties.bind.BindResult.UNBOUND:Lorg/springframework/boot/context/properties/bind/BindResult;
areturn
2: StackMap locals:
StackMap stack:
new org.springframework.boot.context.properties.bind.BindResult
dup
aload 0
invokespecial org.springframework.boot.context.properties.bind.BindResult.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value TT;
Signature: <T:Ljava/lang/Object;>(TT;)Lorg/springframework/boot/context/properties/bind/BindResult<TT;>;
MethodParameters:
Name Flags
value
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "BindResult.java"