public class org.apache.commons.collections4.functors.ConstantFactory<T> implements org.apache.commons.collections4.Factory<T>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.functors.ConstantFactory
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -3520677225766901240
public static final org.apache.commons.collections4.Factory NULL_INSTANCE;
descriptor: Lorg/apache/commons/collections4/Factory;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final T iConstant;
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.apache.commons.collections4.functors.ConstantFactory
dup
aconst_null
invokespecial org.apache.commons.collections4.functors.ConstantFactory.<init>:(Ljava/lang/Object;)V
putstatic org.apache.commons.collections4.functors.ConstantFactory.NULL_INSTANCE:Lorg/apache/commons/collections4/Factory;
return
LocalVariableTable:
Start End Slot Name Signature
public static <T> org.apache.commons.collections4.Factory<T> constantFactory(T);
descriptor: (Ljava/lang/Object;)Lorg/apache/commons/collections4/Factory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: getstatic org.apache.commons.collections4.functors.ConstantFactory.NULL_INSTANCE:Lorg/apache/commons/collections4/Factory;
areturn
2: StackMap locals:
StackMap stack:
new org.apache.commons.collections4.functors.ConstantFactory
dup
aload 0
invokespecial org.apache.commons.collections4.functors.ConstantFactory.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 constantToReturn TT;
Signature: <T:Ljava/lang/Object;>(TT;)Lorg/apache/commons/collections4/Factory<TT;>;
MethodParameters:
Name Flags
constantToReturn final
public void <init>();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
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.apache.commons.collections4.functors.ConstantFactory.iConstant:Ljava/lang/Object;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/functors/ConstantFactory<TT;>;
0 3 1 constantToReturn TT;
Signature: (TT;)V
MethodParameters:
Name Flags
constantToReturn final
public T create();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.functors.ConstantFactory.iConstant:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/functors/ConstantFactory<TT;>;
Signature: ()TT;
public T getConstant();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.functors.ConstantFactory.iConstant:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/functors/ConstantFactory<TT;>;
Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/apache/commons/collections4/Factory<TT;>;Ljava/io/Serializable;
SourceFile: "ConstantFactory.java"