Class JavaConventions

java.lang.Object
net.mcreator.java.JavaConventions

public class JavaConventions extends Object
  • Field Details Link icon

    • JAVA_RESERVED_WORDS Link icon

      public static final Set<String> JAVA_RESERVED_WORDS
  • Constructor Details Link icon

    • JavaConventions Link icon

      public JavaConventions()
  • Method Details Link icon

    • convertToValidClassName Link icon

      public static String convertToValidClassName(String source)
    • isValidJavaIdentifier Link icon

      public static boolean isValidJavaIdentifier(String s)
    • containsInvalidJavaNameCharacters Link icon

      public static boolean containsInvalidJavaNameCharacters(String text)
    • escapeStringForJava Link icon

      public static String escapeStringForJava(String source)
    • isStringReservedJavaWord Link icon

      public static boolean isStringReservedJavaWord(String name)
    • isLetterOrDigit Link icon

      public static boolean isLetterOrDigit(char c)