BindingGeneratorUtil { public static String resolveJavaReservedWordEquivalency(final String parameterName) { if (parameterName != null && BindingMapping.JAVA_RESERVED_WORDS.contains(parameterName)) { return "_" + parameterName; } return parameterName; } private  BindingGeneratorUtil(); static String resolveJavaReservedWordEquivalency(final String parameterName); static String packageNameForGeneratedType(final String basePackageName, final SchemaPath schemaPath); static String packageNameForAugmentedGeneratedType(final String basePackageName,
            final SchemaPath schemaPath); static long computeDefaultSUID(final GeneratedTypeBuilderBase<?> to); static Restrictions getRestrictions(final TypeDefinition<?> type); static String encodeAngleBrackets(String description); static String replaceAllIllegalChars(final String str);  }
@Test public void testValidateParameterName() { assertNull("Return value is incorrect.", BindingGeneratorUtil.resolveJavaReservedWordEquivalency(null)); assertEquals("Return value is incorrect.", "whatever", BindingGeneratorUtil.resolveJavaReservedWordEquivalency("whatever")); assertEquals("Return value is incorrect.", "_case", BindingGeneratorUtil.resolveJavaReservedWordEquivalency("case")); }