Package sootup.java.core.jimple.basic
Interface JavaSlotLocal
- All Superinterfaces:
Acceptor<ImmediateVisitor>,EquivTo,HasAnnotation,Immediate,JavaLocal,JimpleIR,Local,LValue,SlotLocal,Value
Combines Java annotations with original JVM local variable slot provenance.
-
Method Summary
Modifier and TypeMethodDescription@NonNull JavaSlotLocalwithAnnotations(@NonNull Iterable<AnnotationUsage> annotations) Returns a copy with new annotations, preserving all other state and capabilities.default @NonNull JavaSlotLocalwithIndex(int slotIndex) Alias forSlotLocal.withSlotIndex(int).@NonNull JavaSlotLocalReturns a copy with a new name, preserving all other state and capabilities.@NonNull JavaSlotLocalwithSlotIndex(int slotIndex) Returns a copy with a nonnegative slot index, preserving all other state and capabilities.@NonNull JavaSlotLocalReturns 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.java.core.jimple.basic.JavaLocal
getAnnotationsMethods inherited from interface sootup.core.jimple.common.Local
getDefs, getDefsForLocalUse, getName, getStmtsUsingOrDefiningthisLocalMethods inherited from interface sootup.core.jimple.common.SlotLocal
getIndex, getSlotIndex
-
Method Details
-
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. -
withAnnotations
Description copied from interface:JavaLocalReturns a copy with new annotations, preserving all other state and capabilities.- Specified by:
withAnnotationsin interfaceJavaLocal
-
withSlotIndex
Description copied from interface:SlotLocalReturns a copy with a nonnegative slot index, preserving all other state and capabilities.- Specified by:
withSlotIndexin interfaceSlotLocal
-
withIndex
Description copied from interface:SlotLocalAlias forSlotLocal.withSlotIndex(int).
-