public final class org.apache.cassandra.schema.Triggers implements java.lang.Iterable<org.apache.cassandra.schema.TriggerMetadata>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.schema.Triggers
super_class: java.lang.Object
{
private final com.google.common.collect.ImmutableMap<java.lang.String, org.apache.cassandra.schema.TriggerMetadata> triggers;
descriptor: Lcom/google/common/collect/ImmutableMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableMap<Ljava/lang/String;Lorg/apache/cassandra/schema/TriggerMetadata;>;
private void <init>(org.apache.cassandra.schema.Triggers$Builder);
descriptor: (Lorg/apache/cassandra/schema/Triggers$Builder;)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
getfield org.apache.cassandra.schema.Triggers$Builder.triggers:Lcom/google/common/collect/ImmutableMap$Builder;
invokevirtual com.google.common.collect.ImmutableMap$Builder.build:()Lcom/google/common/collect/ImmutableMap;
putfield org.apache.cassandra.schema.Triggers.triggers:Lcom/google/common/collect/ImmutableMap;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/Triggers;
0 3 1 builder Lorg/apache/cassandra/schema/Triggers$Builder;
MethodParameters:
Name Flags
builder
public static org.apache.cassandra.schema.Triggers$Builder builder();
descriptor: ()Lorg/apache/cassandra/schema/Triggers$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.cassandra.schema.Triggers$Builder
dup
invokespecial org.apache.cassandra.schema.Triggers$Builder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.schema.Triggers none();
descriptor: ()Lorg/apache/cassandra/schema/Triggers;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.apache.cassandra.schema.Triggers.builder:()Lorg/apache/cassandra/schema/Triggers$Builder;
invokevirtual org.apache.cassandra.schema.Triggers$Builder.build:()Lorg/apache/cassandra/schema/Triggers;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Iterator<org.apache.cassandra.schema.TriggerMetadata> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.Triggers.triggers:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.values:()Lcom/google/common/collect/ImmutableCollection;
invokevirtual com.google.common.collect.ImmutableCollection.iterator:()Lcom/google/common/collect/UnmodifiableIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Triggers;
Signature: ()Ljava/util/Iterator<Lorg/apache/cassandra/schema/TriggerMetadata;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.Triggers.triggers:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Triggers;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.Triggers.triggers:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Triggers;
public java.util.Optional<org.apache.cassandra.schema.TriggerMetadata> get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.schema.Triggers.triggers:Lcom/google/common/collect/ImmutableMap;
aload 1
invokevirtual com.google.common.collect.ImmutableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.schema.TriggerMetadata
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Triggers;
0 1 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Optional<Lorg/apache/cassandra/schema/TriggerMetadata;>;
MethodParameters:
Name Flags
name
public org.apache.cassandra.schema.Triggers with(org.apache.cassandra.schema.TriggerMetadata);
descriptor: (Lorg/apache/cassandra/schema/TriggerMetadata;)Lorg/apache/cassandra/schema/Triggers;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield org.apache.cassandra.schema.TriggerMetadata.name:Ljava/lang/String;
invokevirtual org.apache.cassandra.schema.Triggers.get:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Trigger %s already exists"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.cassandra.schema.TriggerMetadata.name:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.schema.Triggers.builder:()Lorg/apache/cassandra/schema/Triggers$Builder;
aload 0
invokevirtual org.apache.cassandra.schema.Triggers$Builder.add:(Ljava/lang/Iterable;)Lorg/apache/cassandra/schema/Triggers$Builder;
aload 1
invokevirtual org.apache.cassandra.schema.Triggers$Builder.add:(Lorg/apache/cassandra/schema/TriggerMetadata;)Lorg/apache/cassandra/schema/Triggers$Builder;
invokevirtual org.apache.cassandra.schema.Triggers$Builder.build:()Lorg/apache/cassandra/schema/Triggers;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/Triggers;
0 3 1 trigger Lorg/apache/cassandra/schema/TriggerMetadata;
MethodParameters:
Name Flags
trigger
public org.apache.cassandra.schema.Triggers without(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/schema/Triggers;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.schema.Triggers.get:(Ljava/lang/String;)Ljava/util/Optional;
aload 1
invokedynamic get(Ljava/lang/String;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/apache/cassandra/schema/Triggers.lambda$0(Ljava/lang/String;)Ljava/lang/IllegalStateException; (6)
()Ljava/lang/IllegalStateException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.apache.cassandra.schema.TriggerMetadata
1: astore 2
start local 2 2: invokestatic org.apache.cassandra.schema.Triggers.builder:()Lorg/apache/cassandra/schema/Triggers$Builder;
aload 0
aload 2
invokedynamic apply(Lorg/apache/cassandra/schema/TriggerMetadata;)Lcom/google/common/base/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/apache/cassandra/schema/Triggers.lambda$1(Lorg/apache/cassandra/schema/TriggerMetadata;Lorg/apache/cassandra/schema/TriggerMetadata;)Z (6)
(Lorg/apache/cassandra/schema/TriggerMetadata;)Z
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
invokevirtual org.apache.cassandra.schema.Triggers$Builder.add:(Ljava/lang/Iterable;)Lorg/apache/cassandra/schema/Triggers$Builder;
invokevirtual org.apache.cassandra.schema.Triggers$Builder.build:()Lorg/apache/cassandra/schema/Triggers;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/Triggers;
0 3 1 name Ljava/lang/String;
2 3 2 trigger Lorg/apache/cassandra/schema/TriggerMetadata;
MethodParameters:
Name Flags
name
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_acmpeq 2
aload 1
instanceof org.apache.cassandra.schema.Triggers
ifeq 1
aload 0
getfield org.apache.cassandra.schema.Triggers.triggers:Lcom/google/common/collect/ImmutableMap;
aload 1
checkcast org.apache.cassandra.schema.Triggers
getfield org.apache.cassandra.schema.Triggers.triggers:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.equals:(Ljava/lang/Object;)Z
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/Triggers;
0 3 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
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.apache.cassandra.schema.Triggers.triggers:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Triggers;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.Triggers.triggers:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.values:()Lcom/google/common/collect/ImmutableCollection;
invokevirtual com.google.common.collect.ImmutableCollection.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Triggers;
private static java.lang.IllegalStateException lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/IllegalStateException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=1, args_size=1
0: new java.lang.IllegalStateException
dup
ldc "Trigger %s doesn't exists"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean lambda$1(org.apache.cassandra.schema.TriggerMetadata, org.apache.cassandra.schema.TriggerMetadata);
descriptor: (Lorg/apache/cassandra/schema/TriggerMetadata;Lorg/apache/cassandra/schema/TriggerMetadata;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
if_acmpeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 t Lorg/apache/cassandra/schema/TriggerMetadata;
}
Signature: Ljava/lang/Object;Ljava/lang/Iterable<Lorg/apache/cassandra/schema/TriggerMetadata;>;
SourceFile: "Triggers.java"
NestMembers:
org.apache.cassandra.schema.Triggers$Builder
InnerClasses:
public Builder = com.google.common.collect.ImmutableMap$Builder of com.google.common.collect.ImmutableMap
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Builder = org.apache.cassandra.schema.Triggers$Builder of org.apache.cassandra.schema.Triggers