Package org.teavm.debugging.information
Class DebugInformation
java.lang.Object
org.teavm.debugging.information.DebugInformation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCallSite
(int line, int column) getCallSite
(GeneratedLocation location) getCallSites
(SourceLocation location) getClassName
(int classNameId) getClassNameByJsName
(String className) String[]
getDirectOverridingMethods
(MethodReference methodRef) getExactMethod
(int index) int
getExactMethodId
(int classNameId, int methodId) getFieldMeaning
(String className, String jsName) getFileName
(int fileNameId) String[]
getFollowingLines
(SourceLocation location) getGeneratedLocations
(String fileName, int line) getGeneratedLocations
(SourceLocation sourceLocation) getMethod
(int methodId) getMethodAt
(int line, int column) getMethodAt
(GeneratedLocation generatedLocation) getMethodAt
(GeneratedLocation generatedLocation, int layerIndex) getMethodEntrances
(MethodReference methodRef) getNextStatementLocation
(GeneratedLocation location) getOverridingMethods
(MethodReference methodRef) getSourceLocation
(int line, int column) getSourceLocation
(int line, int column, int layerIndex) getSourceLocation
(GeneratedLocation generatedLocation) getSourceLocation
(GeneratedLocation generatedLocation, int layerIndex) getStatementLocation
(GeneratedLocation location) String[]
getVariableMeaningAt
(int line, int column, String variable) String[]
getVariableMeaningAt
(GeneratedLocation location, String variable) String[]
iterateOverExactMethods
(int layerIndex) int
static DebugInformation
read
(InputStream input) static DebugInformation
read
(InputStream input, ReferenceCache referenceCache) void
write
(OutputStream output) void
writeAsSourceMaps
(Writer output, String sourceRoot, String sourceFile)
-
Constructor Details
-
DebugInformation
public DebugInformation() -
DebugInformation
-
-
Method Details
-
getFilesNames
-
getVariableNames
-
getFileName
-
getClassNames
-
getClassName
-
getMethods
-
getMethod
-
getExactMethods
-
getExactMethod
-
getExactMethodId
public int getExactMethodId(int classNameId, int methodId) -
layerCount
public int layerCount() -
iterateOverExactMethods
-
getGeneratedLocations
-
getGeneratedLocations
-
iterateOverSourceLocations
-
getSourceLocation
-
getSourceLocation
-
getSourceLocation
-
getSourceLocation
-
getMethodAt
-
getMethodAt
-
getMethodAt
-
getVariableMeaningAt
-
getVariableMeaningAt
-
getFollowingLines
-
getFieldMeaning
-
getClassNameByJsName
-
getCallSite
-
getCallSite
-
getMethodEntrances
-
getDirectOverridingMethods
-
getOverridingMethods
-
getCallSites
-
getStatementStartLocations
-
getStatementLocation
-
getNextStatementLocation
-
write
- Throws:
IOException
-
writeAsSourceMaps
public void writeAsSourceMaps(Writer output, String sourceRoot, String sourceFile) throws IOException - Throws:
IOException
-
read
- Throws:
IOException
-
read
public static DebugInformation read(InputStream input, ReferenceCache referenceCache) throws IOException - Throws:
IOException
-