Package sootup.core.jimple.common
Interface SlotLocal
- All Known Subinterfaces:
JavaSlotLocal
A local originating from a JVM local variable slot. The index is original bytecode provenance.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intgetIndex()Alias forgetSlotIndex().intReturns the original, nonnegative JVM local variable slot index.default @NonNull SlotLocalwithIndex(int slotIndex) Alias forwithSlotIndex(int).@NonNull SlotLocalReturns a copy with a new name, preserving all other state and capabilities.@NonNull SlotLocalwithSlotIndex(int slotIndex) Returns a copy with a nonnegative slot index, preserving all other state and capabilities.@NonNull SlotLocalReturns a copy with a new type, preserving all other state and capabilities.Methods inherited from interface sootup.core.jimple.basic.EquivTo
equivHashCode, equivTo, equivToMethods inherited from interface sootup.core.jimple.common.Local
getDefs, getDefsForLocalUse, getName, getStmtsUsingOrDefiningthisLocal
-
Method Details
-
getSlotIndex
int getSlotIndex()Returns the original, nonnegative JVM local variable slot index. -
withSlotIndex
Returns a copy with a nonnegative slot index, preserving all other state and capabilities. -
withName
Description copied from interface:LocalReturns a copy with a new name, preserving all other state and capabilities. -
withType
Description copied from interface:LocalReturns a copy with a new type, preserving all other state and capabilities. -
getIndex
default int getIndex()Alias forgetSlotIndex(). -
withIndex
Alias forwithSlotIndex(int).
-