Class MetadataGeneratorUtil


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> fetchAllTokens()
      Return all token types present in checkstyle.
      static void generate​(java.lang.String... args)
      Generate metadata from the module source files available in the input argument path.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • generate

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

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