public final class org.apache.commons.collections4.functors.InstanceofPredicate implements org.apache.commons.collections4.Predicate<java.lang.Object>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.commons.collections4.functors.InstanceofPredicate
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -6682656911025165584
private final java.lang.Class<?> iType;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
public static org.apache.commons.collections4.Predicate<java.lang.Object> instanceOfPredicate(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/apache/commons/collections4/Predicate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "The type to check instanceof must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.commons.collections4.functors.InstanceofPredicate
dup
aload 0
invokespecial org.apache.commons.collections4.functors.InstanceofPredicate.<init>:(Ljava/lang/Class;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Lorg/apache/commons/collections4/Predicate<Ljava/lang/Object;>;
MethodParameters:
Name Flags
type final
public void <init>(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)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.InstanceofPredicate.iType:Ljava/lang/Class;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/functors/InstanceofPredicate;
0 3 1 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
type final
public boolean evaluate(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
getfield org.apache.commons.collections4.functors.InstanceofPredicate.iType:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/functors/InstanceofPredicate;
0 1 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object final
public java.lang.Class<?> getType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.functors.InstanceofPredicate.iType:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/functors/InstanceofPredicate;
Signature: ()Ljava/lang/Class<*>;
}
Signature: Ljava/lang/Object;Lorg/apache/commons/collections4/Predicate<Ljava/lang/Object;>;Ljava/io/Serializable;
SourceFile: "InstanceofPredicate.java"