Class RelativeLocation

java.lang.Object
org.checkerframework.afu.scenelib.el.RelativeLocation
All Implemented Interfaces:
Comparable<RelativeLocation>

public final class RelativeLocation extends Object implements Comparable<RelativeLocation>
A RelativeLocation holds location information for a instanceof, cast, or new: either the bytecode offset or the source code index. I call instanceof, cast, or new "the construct".
  • Field Details

    • offset

      public final int offset
      The bytecode offset of the construct.
    • index

      public final int index
      The source code index of the construct.
    • type_index

      public final int type_index
      The type index used for intersection types in casts.
  • Method Details