Package proguard.analysis.datastructure
Class Location
- java.lang.Object
-
- proguard.analysis.datastructure.Location
-
- All Implemented Interfaces:
java.lang.Comparable<Location>
- Direct Known Subclasses:
CodeLocation
,FileLocation
public abstract class Location extends java.lang.Object implements java.lang.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 Summary
Fields Modifier and Type Field Description int
line
static int
UNKNOWN_LINE
-
Constructor Summary
Constructors Modifier Constructor Description protected
Location(int line)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.String
getName()
Returns the name of the location, e.g., the signature of a CodeLocation, or the filename of a FileLocation
-
-
-
Field Detail
-
UNKNOWN_LINE
public static final int UNKNOWN_LINE
- See Also:
- Constant Field Values
-
line
public final int line
-
-