Class DebugInformation


  • public class DebugInformation
    extends java.lang.Object
    • Constructor Detail

      • DebugInformation

        public DebugInformation()
      • DebugInformation

        public DebugInformation​(ReferenceCache referenceCache)
    • Method Detail

      • getFilesNames

        public java.lang.String[] getFilesNames()
      • getVariableNames

        public java.lang.String[] getVariableNames()
      • getFileName

        public java.lang.String getFileName​(int fileNameId)
      • getClassNames

        public java.lang.String[] getClassNames()
      • getClassName

        public java.lang.String getClassName​(int classNameId)
      • getExactMethodId

        public int getExactMethodId​(int classNameId,
                                    int methodId)
      • layerCount

        public int layerCount()
      • iterateOverExactMethods

        public ExactMethodIterator iterateOverExactMethods​(int layerIndex)
      • getGeneratedLocations

        public java.util.Collection<GeneratedLocation> getGeneratedLocations​(java.lang.String fileName,
                                                                             int line)
      • getSourceLocation

        public SourceLocation getSourceLocation​(int line,
                                                int column)
      • getSourceLocation

        public SourceLocation getSourceLocation​(int line,
                                                int column,
                                                int layerIndex)
      • getMethodAt

        public MethodReference getMethodAt​(int line,
                                           int column)
      • getVariableMeaningAt

        public java.lang.String[] getVariableMeaningAt​(int line,
                                                       int column,
                                                       java.lang.String variable)
      • getVariableMeaningAt

        public java.lang.String[] getVariableMeaningAt​(GeneratedLocation location,
                                                       java.lang.String variable)
      • getFieldMeaning

        public java.lang.String getFieldMeaning​(java.lang.String className,
                                                java.lang.String jsName)
      • getClassNameByJsName

        public java.lang.String getClassNameByJsName​(java.lang.String className)
      • getStatementStartLocations

        public java.util.List<GeneratedLocation> getStatementStartLocations()
      • write

        public void write​(java.io.OutputStream output)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • writeAsSourceMaps

        public void writeAsSourceMaps​(java.io.Writer output,
                                      java.lang.String sourceRoot,
                                      java.lang.String sourceFile)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public static DebugInformation read​(java.io.InputStream input)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public static DebugInformation read​(java.io.InputStream input,
                                            ReferenceCache referenceCache)
                                     throws java.io.IOException
        Throws:
        java.io.IOException