Class GeneratorUtils
java.lang.Object
org.jctools.queues.util.GeneratorUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TbuildGenerator(Class<? extends T> generatorClass, String fileName) Build a generator instance of the given class with the given file name.static voidcleanupPaddingComments(com.github.javaparser.ast.CompilationUnit cu) Remove padding fields from the given class.static StringformatMultilineJavadoc(int indent, String... lines) Format a multiline javadoc comment with the given lines and indentation level.static voidremovePaddingFields(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration node) Remove padding fields from the given class.static voidrunJCToolsGenerator(Class<? extends JCToolsGenerator> generatorClass, String[] args)
-
Field Details
-
INDENT_LEVEL
- See Also:
-
-
Constructor Details
-
GeneratorUtils
public GeneratorUtils()
-
-
Method Details
-
cleanupPaddingComments
public static void cleanupPaddingComments(com.github.javaparser.ast.CompilationUnit cu) Remove padding fields from the given class. -
removePaddingFields
public static void removePaddingFields(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration node) Remove padding fields from the given class. -
buildGenerator
-
formatMultilineJavadoc
-
runJCToolsGenerator
public static void runJCToolsGenerator(Class<? extends JCToolsGenerator> generatorClass, String[] args) throws Exception - Throws:
Exception
-