Class TypePrettyPrint
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.types.TypePrettyPrint
-
public final class TypePrettyPrint extends Object
Pretty-printing methods to display types. The current API is only offered for debugging, not for displaying types to users.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TypePrettyPrint.TypePrettyPrinter
Options to pretty print a type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NonNull String
prettyPrint(@NonNull JTypeVisitable t)
static String
prettyPrint(@NonNull JTypeVisitable t, TypePrettyPrint.TypePrettyPrinter prettyPrinter)
static @NonNull String
prettyPrintWithSimpleNames(@NonNull JTypeVisitable t)
-
-
-
Method Detail
-
prettyPrint
public static @NonNull String prettyPrint(@NonNull JTypeVisitable t)
-
prettyPrintWithSimpleNames
public static @NonNull String prettyPrintWithSimpleNames(@NonNull JTypeVisitable t)
-
prettyPrint
public static String prettyPrint(@NonNull JTypeVisitable t, TypePrettyPrint.TypePrettyPrinter prettyPrinter)
-
-