org.apache.cxf.helpers
Class JavaUtils
java.lang.Object
org.apache.cxf.helpers.JavaUtils
public final class JavaUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isJavaKeyword
public static boolean isJavaKeyword(String keyword)
- checks if the input string is a valid java keyword.
- Returns:
- boolean true/false
makeNonJavaKeyword
public static String makeNonJavaKeyword(String keyword)
- Turn a java keyword string into a non-Java keyword string. (Right now
this simply means appending an underscore.)
Apache CXF