final class com.google.common.collect.ImmutableEnumSet<E extends java.lang.Enum<E>> extends com.google.common.collect.ImmutableSet<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.ImmutableEnumSet
super_class: com.google.common.collect.ImmutableSet
{
private final transient java.util.EnumSet<E> delegate;
descriptor: Ljava/util/EnumSet;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
Signature: Ljava/util/EnumSet<TE;>;
private transient int hashCode;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
RuntimeVisibleAnnotations:
com.google.errorprone.annotations.concurrent.LazyInit()
static com.google.common.collect.ImmutableSet asImmutable(java.util.EnumSet);
descriptor: (Ljava/util/EnumSet;)Lcom/google/common/collect/ImmutableSet;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.EnumSet.size:()I
tableswitch { // 0 - 1
0: 1
1: 2
default: 3
}
1: StackMap locals:
StackMap stack:
invokestatic com.google.common.collect.ImmutableSet.of:()Lcom/google/common/collect/ImmutableSet;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic com.google.common.collect.Iterables.getOnlyElement:(Ljava/lang/Iterable;)Ljava/lang/Object;
invokestatic com.google.common.collect.ImmutableSet.of:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
areturn
3: StackMap locals:
StackMap stack:
new com.google.common.collect.ImmutableEnumSet
dup
aload 0
invokespecial com.google.common.collect.ImmutableEnumSet.<init>:(Ljava/util/EnumSet;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 set Ljava/util/EnumSet;
MethodParameters:
Name Flags
set
private void <init>(java.util.EnumSet<E>);
descriptor: (Ljava/util/EnumSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.collect.ImmutableSet.<init>:()V
1: aload 0
aload 1
putfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
0 3 1 delegate Ljava/util/EnumSet<TE;>;
Signature: (Ljava/util/EnumSet<TE;>;)V
MethodParameters:
Name Flags
delegate
boolean isPartialView();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
public com.google.common.collect.UnmodifiableIterator<E> iterator();
descriptor: ()Lcom/google/common/collect/UnmodifiableIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Iterators.unmodifiableIterator:(Ljava/util/Iterator;)Lcom/google/common/collect/UnmodifiableIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
Signature: ()Lcom/google/common/collect/UnmodifiableIterator<TE;>;
public java.util.Spliterator<E> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.spliterator:()Ljava/util/Spliterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
Signature: ()Ljava/util/Spliterator<TE;>;
public void forEach(java.util.function.Consumer<? super E>);
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 0
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
aload 1
invokevirtual java.util.EnumSet.forEach:(Ljava/util/function/Consumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
0 2 1 action Ljava/util/function/Consumer<-TE;>;
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
public boolean contains(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 com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
aload 1
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
0 1 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
public boolean containsAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.google.common.collect.ImmutableEnumSet
ifeq 2
1: aload 1
checkcast com.google.common.collect.ImmutableEnumSet
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
aload 1
invokevirtual java.util.EnumSet.containsAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
0 3 1 collection Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
collection
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
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 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.google.common.collect.ImmutableEnumSet
ifeq 4
3: aload 1
checkcast com.google.common.collect.ImmutableEnumSet
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
astore 1
4: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
aload 1
invokevirtual java.util.EnumSet.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
0 5 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
boolean isHashCodeFast();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ImmutableEnumSet.hashCode:I
istore 1
start local 1 1: iload 1
ifne 2
aload 0
aload 0
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.hashCode:()I
dup_x1
putfield com.google.common.collect.ImmutableEnumSet.hashCode:I
goto 3
StackMap locals: int
StackMap stack:
2: iload 1
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
1 4 1 result I
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 com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
java.lang.Object writeReplace();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.ImmutableEnumSet$EnumSerializedForm
dup
aload 0
getfield com.google.common.collect.ImmutableEnumSet.delegate:Ljava/util/EnumSet;
invokespecial com.google.common.collect.ImmutableEnumSet$EnumSerializedForm.<init>:(Ljava/util/EnumSet;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableEnumSet<TE;>;
public java.util.Iterator iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.collect.ImmutableEnumSet.iterator:()Lcom/google/common/collect/UnmodifiableIterator;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Enum<TE;>;>Lcom/google/common/collect/ImmutableSet<TE;>;
SourceFile: "ImmutableEnumSet.java"
NestMembers:
com.google.common.collect.ImmutableEnumSet$EnumSerializedForm
InnerClasses:
private EnumSerializedForm = com.google.common.collect.ImmutableEnumSet$EnumSerializedForm of com.google.common.collect.ImmutableEnumSet
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true, emulated = true)