final class com.google.common.collect.SingletonImmutableList<E> extends com.google.common.collect.ImmutableList<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.SingletonImmutableList
super_class: com.google.common.collect.ImmutableList
{
final transient E element;
descriptor: Ljava/lang/Object;
flags: (0x0090) ACC_FINAL, ACC_TRANSIENT
Signature: TE;
void <init>();
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.collect.ImmutableList.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
putfield com.google.common.collect.SingletonImmutableList.element:Ljava/lang/Object;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/SingletonImmutableList<TE;>;
0 3 1 element TE;
Signature: (TE;)V
MethodParameters:
Name Flags
element
public E get();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
invokestatic com.google.common.base.Preconditions.checkElementIndex:(II)I
pop
1: aload 0
getfield com.google.common.collect.SingletonImmutableList.element:Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/SingletonImmutableList<TE;>;
0 2 1 index I
Signature: (I)TE;
MethodParameters:
Name Flags
index
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.SingletonImmutableList.element:Ljava/lang/Object;
invokestatic com.google.common.collect.Iterators.singletonIterator:(Ljava/lang/Object;)Lcom/google/common/collect/UnmodifiableIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/SingletonImmutableList<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.SingletonImmutableList.element:Ljava/lang/Object;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
invokeinterface java.util.Set.spliterator:()Ljava/util/Spliterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/SingletonImmutableList<TE;>;
Signature: ()Ljava/util/Spliterator<TE;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
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/SingletonImmutableList<TE;>;
public com.google.common.collect.ImmutableList<E> subList(int, int);
descriptor: (II)Lcom/google/common/collect/ImmutableList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
iconst_1
invokestatic com.google.common.base.Preconditions.checkPositionIndexes:(III)V
1: iload 1
iload 2
if_icmpne 2
invokestatic com.google.common.collect.ImmutableList.of:()Lcom/google/common/collect/ImmutableList;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
StackMap locals:
StackMap stack: com.google.common.collect.ImmutableList
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/SingletonImmutableList<TE;>;
0 4 1 fromIndex I
0 4 2 toIndex I
Signature: (II)Lcom/google/common/collect/ImmutableList<TE;>;
MethodParameters:
Name Flags
fromIndex
toIndex
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
bipush 91
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.collect.SingletonImmutableList.element:Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/SingletonImmutableList<TE;>;
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/SingletonImmutableList<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.SingletonImmutableList.iterator:()Lcom/google/common/collect/UnmodifiableIterator;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.List subList(int, int);
descriptor: (II)Ljava/util/List;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
iload 2
invokevirtual com.google.common.collect.SingletonImmutableList.subList:(II)Lcom/google/common/collect/ImmutableList;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Object;>Lcom/google/common/collect/ImmutableList<TE;>;
SourceFile: "SingletonImmutableList.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true, emulated = true)