Class MetadataGeneratorUtil

java.lang.Object
com.puppycrawl.tools.checkstyle.meta.MetadataGeneratorUtil

public final class MetadataGeneratorUtil extends Object
Class which handles all the metadata generation and writing calls.
  • Method Details

    • generate

      public static void generate(String... args) throws IOException, CheckstyleException
      Generate metadata from the module source files available in the input argument path.
      Parameters:
      args - arguments
      Throws:
      IOException - ioException
      CheckstyleException - checkstyleException
    • fetchAllTokens

      public static List<String> fetchAllTokens()
      Return all token types present in checkstyle.
      Returns:
      list of token type names