Class Location

java.lang.Object
proguard.analysis.datastructure.Location
All Implemented Interfaces:
Comparable<Location>
Direct Known Subclasses:
CodeLocation, FileLocation

public abstract class Location extends Object implements Comparable<Location>
Helper data structure that makes it possible to identify specific places inside a program, either inside the bytecode (CodeLocation) or some other file, e.g. JAR/APK resources (FileLocation).
  • Field Details

    • UNKNOWN_LINE

      public static final int UNKNOWN_LINE
      See Also:
    • line

      public final int line
  • Constructor Details

    • Location

      protected Location(int line)
  • Method Details

    • getName

      public abstract String getName()
      Returns the name of the location, e.g., the signature of a CodeLocation, or the filename of a FileLocation