Interface JavaLocal

All Superinterfaces:
Acceptor<ImmediateVisitor>, EquivTo, HasAnnotation, Immediate, JimpleIR, Local, LValue, Value
All Known Subinterfaces:
JavaSlotLocal, JavaStackLocal

public interface JavaLocal extends Local, HasAnnotation
A local with Java annotations, independent of its slot or operand stack provenance.
  • Method Details

    • getAnnotations

      @NonNull Iterable<AnnotationUsage> getAnnotations()
      Specified by:
      getAnnotations in interface HasAnnotation
    • withName

      @NonNull JavaLocal withName(@NonNull String name)
      Description copied from interface: Local
      Returns a copy with a new name, preserving all other state and capabilities.
      Specified by:
      withName in interface Local
    • withType

      @NonNull JavaLocal withType(@NonNull Type type)
      Description copied from interface: Local
      Returns a copy with a new type, preserving all other state and capabilities.
      Specified by:
      withType in interface Local
    • withAnnotations

      @NonNull JavaLocal withAnnotations(@NonNull Iterable<AnnotationUsage> annotations)
      Returns a copy with new annotations, preserving all other state and capabilities.