public interface org.springframework.beans.factory.ObjectProvider<T> extends org.springframework.beans.factory.ObjectFactory<T>, java.lang.Iterable<T>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: org.springframework.beans.factory.ObjectProvider
super_class: java.lang.Object
{
public abstract T getObject([]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0481) ACC_PUBLIC, ACC_VARARGS, ACC_ABSTRACT
Exceptions:
throws org.springframework.beans.BeansException
Signature: ([Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
args
public abstract T getIfAvailable();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws org.springframework.beans.BeansException
Signature: ()TT;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public T getIfAvailable(java.util.function.Supplier<T>);
descriptor: (Ljava/util/function/Supplier;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.springframework.beans.factory.ObjectProvider.getIfAvailable:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/ObjectProvider<TT;>;
0 4 1 defaultSupplier Ljava/util/function/Supplier<TT;>;
1 4 2 dependency TT;
Exceptions:
throws org.springframework.beans.BeansException
Signature: (Ljava/util/function/Supplier<TT;>;)TT;
MethodParameters:
Name Flags
defaultSupplier
public void ifAvailable(java.util.function.Consumer<T>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.springframework.beans.factory.ObjectProvider.getIfAvailable:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 1
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
3: StackMap locals: java.lang.Object
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/ObjectProvider<TT;>;
0 4 1 dependencyConsumer Ljava/util/function/Consumer<TT;>;
1 4 2 dependency TT;
Exceptions:
throws org.springframework.beans.BeansException
Signature: (Ljava/util/function/Consumer<TT;>;)V
MethodParameters:
Name Flags
dependencyConsumer
public abstract T getIfUnique();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws org.springframework.beans.BeansException
Signature: ()TT;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public T getIfUnique(java.util.function.Supplier<T>);
descriptor: (Ljava/util/function/Supplier;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.springframework.beans.factory.ObjectProvider.getIfUnique:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/ObjectProvider<TT;>;
0 4 1 defaultSupplier Ljava/util/function/Supplier<TT;>;
1 4 2 dependency TT;
Exceptions:
throws org.springframework.beans.BeansException
Signature: (Ljava/util/function/Supplier<TT;>;)TT;
MethodParameters:
Name Flags
defaultSupplier
public void ifUnique(java.util.function.Consumer<T>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.springframework.beans.factory.ObjectProvider.getIfUnique:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 1
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
3: StackMap locals: java.lang.Object
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/ObjectProvider<TT;>;
0 4 1 dependencyConsumer Ljava/util/function/Consumer<TT;>;
1 4 2 dependency TT;
Exceptions:
throws org.springframework.beans.BeansException
Signature: (Ljava/util/function/Consumer<TT;>;)V
MethodParameters:
Name Flags
dependencyConsumer
public java.util.Iterator<T> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.springframework.beans.factory.ObjectProvider.stream:()Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/ObjectProvider<TT;>;
Signature: ()Ljava/util/Iterator<TT;>;
public java.util.stream.Stream<T> stream();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Multi element access not supported"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/ObjectProvider<TT;>;
Signature: ()Ljava/util/stream/Stream<TT;>;
public java.util.stream.Stream<T> orderedStream();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Ordered element access not supported"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/ObjectProvider<TT;>;
Signature: ()Ljava/util/stream/Stream<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/springframework/beans/factory/ObjectFactory<TT;>;Ljava/lang/Iterable<TT;>;
SourceFile: "ObjectProvider.java"