Class PrettyPrintingUtil
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.ast.internal.PrettyPrintingUtil
-
public final class PrettyPrintingUtil extends Object
- Author:
- Clément Fournier
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
displaySignature(String methodName, ASTFormalParameters params)
Returns a normalized method name.static String
displaySignature(ASTMethodOrConstructorDeclaration node)
Returns a normalized method name.static String
kindName(ASTAnyTypeDeclaration decl)
Returns the generic kind of declaration this is, eg "enum" or "class".
-
-
-
Method Detail
-
displaySignature
public static String displaySignature(String methodName, ASTFormalParameters params)
Returns a normalized method name. This just looks at the image of the types of the parameters.
-
displaySignature
public static String displaySignature(ASTMethodOrConstructorDeclaration node)
Returns a normalized method name. This just looks at the image of the types of the parameters.
-
kindName
public static String kindName(ASTAnyTypeDeclaration decl)
Returns the generic kind of declaration this is, eg "enum" or "class".
-
-