Package sootup.java.core.jimple.basic
Interface JavaLocal
- All Superinterfaces:
Acceptor<ImmediateVisitor>,EquivTo,HasAnnotation,Immediate,JimpleIR,Local,LValue,Value
- All Known Subinterfaces:
JavaSlotLocal,JavaStackLocal
A local with Java annotations, independent of its slot or operand stack provenance.
-
Method Summary
Modifier and TypeMethodDescription@NonNull Iterable<AnnotationUsage>@NonNull JavaLocalwithAnnotations(@NonNull Iterable<AnnotationUsage> annotations) Returns a copy with new annotations, preserving all other state and capabilities.@NonNull JavaLocalReturns a copy with a new name, preserving all other state and capabilities.@NonNull JavaLocalReturns 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
-
getAnnotations
@NonNull Iterable<AnnotationUsage> getAnnotations()- Specified by:
getAnnotationsin interfaceHasAnnotation
-
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
Returns a copy with new annotations, preserving all other state and capabilities.
-