code: static boolean isJavaIdentifier(String pValue) {
          int len = pValue.length();
          if (len == 0) {
              return false;
          } else {
              if (!Character.isJavaIdentifierStart(pValue.charAt(0))) {
                  return false;
              } else {
                  for (int i = 1; i < len; i++) {
                      if (!Character.isJavaIdentifierPart(pValue.charAt(i))) {
                          return false;
                      }
                  }
                  return true;
              }
          }
      }
docs: Returns true if the specified value is a legal java identifier