Class ImmutableSwitchElement
- java.lang.Object
-
- org.jf.dexlib2.immutable.instruction.ImmutableSwitchElement
-
- All Implemented Interfaces:
SwitchElement
public class ImmutableSwitchElement extends java.lang.Object implements SwitchElement
-
-
Constructor Summary
Constructors Constructor Description ImmutableSwitchElement(int key, int offset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getKey()
int
getOffset()
static com.google.common.collect.ImmutableList<ImmutableSwitchElement>
immutableListOf(java.util.List<? extends SwitchElement> list)
static ImmutableSwitchElement
of(SwitchElement switchElement)
-
-
-
Method Detail
-
of
@Nonnull public static ImmutableSwitchElement of(SwitchElement switchElement)
-
getKey
public int getKey()
- Specified by:
getKey
in interfaceSwitchElement
-
getOffset
public int getOffset()
- Specified by:
getOffset
in interfaceSwitchElement
-
immutableListOf
@Nonnull public static com.google.common.collect.ImmutableList<ImmutableSwitchElement> immutableListOf(@Nullable java.util.List<? extends SwitchElement> list)
-
-