Class ImmutableSwitchElement
java.lang.Object
org.jf.dexlib2.immutable.instruction.ImmutableSwitchElement
- All Implemented Interfaces:
SwitchElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ImmutableConverter<ImmutableSwitchElement, SwitchElement> protected final intprotected final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetKey()intstatic com.google.common.collect.ImmutableList<ImmutableSwitchElement> immutableListOf(List<? extends SwitchElement> list) static ImmutableSwitchElementof(SwitchElement switchElement)
-
Field Details
-
key
protected final int key -
offset
protected final int offset -
CONVERTER
-
-
Constructor Details
-
ImmutableSwitchElement
public ImmutableSwitchElement(int key, int offset)
-
-
Method Details
-
of
-
getKey
public int getKey()- Specified by:
getKeyin interfaceSwitchElement
-
getOffset
public int getOffset()- Specified by:
getOffsetin interfaceSwitchElement
-
immutableListOf
@Nonnull public static com.google.common.collect.ImmutableList<ImmutableSwitchElement> immutableListOf(@Nullable List<? extends SwitchElement> list)
-