code: public static String removeNonJavaIdentifierCharacters( String name )
      {
          StringBuilder javaIdentifier = new StringBuilder();
          
          for (int index = 0; index < name.length(); index++)
          {
          	if (Character.isJavaIdentifierPart(name.codePointAt( index ))) {
          		javaIdentifier.append(name.charAt(index));
          	}
          }
  
          return javaIdentifier.toString();
      }
docs: <p>removeNonJavaIdentifierCharacters.</p>
  
  @param name a {@link java.lang.String} object.
  @return a {@link java.lang.String} object.