Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Naming Rules
    • The following naming rules for Java object names have to be considered: https://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.8
    • No control characters are allowed: [^\\x00-\\x1F\\x7F\\x80-\\x9F]
    • No punctuation characters are allowed. However, dots '.', underscore '_' and dash '-' are allowed: [^\\x20-\\x2C\\x2F\\x3A-\\x40\\x5B-\\x5E\\x60\\x7B-\\x7E\\xA0-\\xBF\\xD7\\xF7]
      • Dot: is not allowed as a leading or trailing character and two dots in sequence are not allowed.
      • Dash: is not allowed as a leading or trailing character and two dashes in sequence are not allowed.
      • Brackets are not allowed [({})]
    • Halfwidth characters are not allowed, see Halfwidth and Fullwidth Forms (Unicode block).
    • Spaces are not allowed.
    • Object Names may start with a digit.
    • Use of Java reserved keywords is not allowed:
      • "abstract", "continue", "for", "new", "switch", "assert", "default", "goto", "package", "synchronized", "boolean", "do", "if", "private", "this", "break", "double", "implements", "protected", "throw", "byte", "else", "import", "public", "throws", "case", "enum", "instanceof", "return", "transient", "catch",  "extends", "int", "short", "try", "char", "final", "interface", "static", "void", "class", "finally", "long", "strictfp", "volatile", "const", "float", "native", "super", "while"
      • Example: use of the reserved keyword "switch" is not allowed, use of "myswitch" is allowed.
  • Examples
    • National language characters such as Japanese:
      • こんにちは世界
    • Use of dot, dash, underscore:
      • Say.Hello
      • Say-Hello
      • say_hello

...