Class PsiTreePrinter

java.lang.Object
org.openrewrite.kotlin.internal.PsiTreePrinter

public class PsiTreePrinter extends Object
  • Constructor Details

    • PsiTreePrinter

      protected PsiTreePrinter()
  • Method Details

    • print

      public static String print(org.jetbrains.kotlin.com.intellij.psi.PsiElement psiElement)
    • print

      public static String print(org.openrewrite.Parser.Input input)
    • print

      public static String print(@Nullable org.jetbrains.kotlin.ir.declarations.IrFile file)
    • print

      public static String print(org.openrewrite.Tree tree)
    • print

      public static String print(@Nullable org.jetbrains.kotlin.fir.FirElement firElement)
    • printPsiTreeSkeleton

      public static String printPsiTreeSkeleton(org.jetbrains.kotlin.com.intellij.psi.PsiElement psiElement)
    • printPsiTree

      public static String printPsiTree(org.jetbrains.kotlin.com.intellij.psi.PsiElement psiElement)
    • printFirFile

      public static @Nullable String printFirFile(org.jetbrains.kotlin.fir.declarations.FirFile file)
    • printFirTree

      public static @Nullable String printFirTree(org.jetbrains.kotlin.fir.FirElement firElement)
    • printIrFile

      public static String printIrFile(@Nullable org.jetbrains.kotlin.ir.declarations.IrFile file)
    • printJTree

      public static String printJTree(org.openrewrite.Tree tree)
    • printIrElement

      public static String printIrElement(org.jetbrains.kotlin.ir.IrElement element)
    • getType

      public static String getType(org.jetbrains.kotlin.ir.IrElement element)
    • printFirElement

      public static String printFirElement(org.jetbrains.kotlin.fir.FirElement firElement)
    • firElementToString

      public static @Nullable String firElementToString(org.jetbrains.kotlin.fir.FirElement firElement)
    • printIndexedSourceCode

      public static String printIndexedSourceCode(String sourceCode)