Package net.mcreator.java
Class JavaConventions
java.lang.Object
net.mcreator.java.JavaConventions
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static String
convertToValidClassName
(String source) static String
escapeStringForJava
(String source) static boolean
isLetterOrDigit
(char c) static boolean
static boolean
-
Field Details
-
JAVA_RESERVED_WORDS
-
-
Constructor Details
-
JavaConventions
public JavaConventions()
-
-
Method Details
-
convertToValidClassName
-
isValidJavaIdentifier
-
containsInvalidJavaNameCharacters
-
escapeStringForJava
-
isStringReservedJavaWord
-
isLetterOrDigit
public static boolean isLetterOrDigit(char c)
-