Class PrettyPrintingUtil


  • public final class PrettyPrintingUtil
    extends Object
    Author:
    Clément Fournier
    • 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".