Package com.strobel.decompiler.languages
Class TypeDecompilationResults
java.lang.Object
com.strobel.decompiler.languages.TypeDecompilationResults
TypeCompilationResults
holds the result of decompiling a single type.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<LineNumberPosition> the mapping from original line numbers to post-compiled line numbers -
Constructor Summary
ConstructorsConstructorDescriptionTypeDecompilationResults
(List<LineNumberPosition> lineNumberPositions) Constructs decompilation results. -
Method Summary
Modifier and TypeMethodDescriptionReturns the line number positions resulting from a decompilation.
-
Field Details
-
_lineNumberPositions
the mapping from original line numbers to post-compiled line numbers
-
-
Constructor Details
-
TypeDecompilationResults
Constructs decompilation results.- Parameters:
lineNumberPositions
- the mapping of original to decompiled line numbers, ornull
if the decompilation target language does not support line numbers.
-
-
Method Details
-
getLineNumberPositions
Returns the line number positions resulting from a decompilation.- Returns:
- an unmodifiable list containing the line number positions resulting from a decompilation. May be empty if the decompilation target language does not support line numbers.
-