类 Location

  • 所有已实现的接口:
    java.lang.Comparable<Location>
    直接已知子类:
    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).
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      int line  
      static int UNKNOWN_LINE  
    • 构造器概要

      构造器 
      限定符 构造器 说明
      protected Location​(int line)  
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      abstract java.lang.String getName()
      Returns the name of the location, e.g., the signature of a CodeLocation, or the filename of a FileLocation
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 java.lang.Comparable

        compareTo
    • 字段详细资料

      • UNKNOWN_LINE

        public static final int UNKNOWN_LINE
        另请参阅:
        常量字段值
      • line

        public final int line
    • 构造器详细资料

      • Location

        protected Location​(int line)
    • 方法详细资料

      • getName

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