Class MetadataGeneratorUtil
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.meta.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.
-
-
-
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
- ioExceptionCheckstyleException
- checkstyleException
-
fetchAllTokens
public static java.util.List<java.lang.String> fetchAllTokens()
Return all token types present in checkstyle.- Returns:
- list of token type names
-
-