类 FileLocation

  • 所有已实现的接口:
    java.lang.Comparable<Location>

    public class FileLocation
    extends Location
    Represents a unique location in a file, e.g. JAR/APK resources. They comprise the name of the containing file and the line therein.
    • 构造器概要

      构造器 
      构造器 说明
      FileLocation​(java.lang.String filename, int line)  
      FileLocation​(java.lang.String filename, int line, java.lang.String obfuscatedFilename)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      int compareTo​(Location o)  
      boolean equals​(java.lang.Object o)  
      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.String getOriginalFilename()  
      int hashCode()  
      java.lang.String toString()  
      • 从类继承的方法 java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 字段详细资料

      • filename

        public final java.lang.String filename
      • obfuscatedFilename

        public java.lang.String obfuscatedFilename
    • 构造器详细资料

      • FileLocation

        public FileLocation​(java.lang.String filename,
                            int line)
      • FileLocation

        public FileLocation​(java.lang.String filename,
                            int line,
                            java.lang.String obfuscatedFilename)
    • 方法详细资料

      • getName

        public java.lang.String getName()
        从类复制的说明: Location
        Returns the name of the location, e.g., the signature of a CodeLocation, or the filename of a FileLocation
        指定者:
        getName 在类中 Location
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        覆盖:
        equals 在类中 java.lang.Object
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 java.lang.Object
      • compareTo

        public int compareTo​(Location o)
      • getOriginalFilename

        public java.lang.String getOriginalFilename()