Package org.openrewrite.kotlin.internal
Class PsiTreePrinter
java.lang.Object
org.openrewrite.kotlin.internal.PsiTreePrinter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable StringfirElementToString(org.jetbrains.kotlin.fir.FirElement firElement) static StringgetType(org.jetbrains.kotlin.ir.IrElement element) static Stringprint(@Nullable org.jetbrains.kotlin.ir.declarations.IrFile file) static Stringprint(org.jetbrains.kotlin.com.intellij.psi.PsiElement psiElement) static Stringprint(org.jetbrains.kotlin.fir.declarations.FirFile file) static Stringprint(org.openrewrite.Parser.Input input) static Stringprint(org.openrewrite.Tree tree) static StringprintFirElement(org.jetbrains.kotlin.fir.FirElement firElement) static StringprintFirFile(org.jetbrains.kotlin.fir.declarations.FirFile file) static StringprintIndexedSourceCode(String sourceCode) static StringprintIrElement(org.jetbrains.kotlin.ir.IrElement element) static StringprintIrFile(@Nullable org.jetbrains.kotlin.ir.declarations.IrFile file) static StringprintJTree(org.openrewrite.Tree tree) static StringprintPsiTree(org.jetbrains.kotlin.com.intellij.psi.PsiElement psiElement) static StringprintPsiTreeSkeleton(org.jetbrains.kotlin.com.intellij.psi.PsiElement psiElement)
-
Constructor Details
-
PsiTreePrinter
protected PsiTreePrinter()
-
-
Method Details
-
print
-
print
-
print
-
print
-
print
-
printPsiTreeSkeleton
public static String printPsiTreeSkeleton(org.jetbrains.kotlin.com.intellij.psi.PsiElement psiElement) -
printPsiTree
-
printFirFile
-
printIrFile
public static String printIrFile(@Nullable @Nullable org.jetbrains.kotlin.ir.declarations.IrFile file) -
printJTree
-
printIrElement
-
getType
-
printFirElement
-
firElementToString
@Nullable public static @Nullable String firElementToString(org.jetbrains.kotlin.fir.FirElement firElement) -
printIndexedSourceCode
-