public static boolean isPartOfJavaClassName(char ch) {
    return Character.isLetterOrDigit(ch) || ch == '.' || ch == '$' || ch == '[' || ch == ']';
  }
public static boolean isPartOfJavaClassName(char ch)