// Invoke the fromString static method to get the Enumeration value
if (isNil)
return null;
if (fromStringMethod == null) {
try {
fromStringMethod = MethodCache.getInstance().getMethod(javaType, "fromString", STRING_CLASS);
} catch (Exception e) {
throw new IntrospectionException(e.toString());
}
}
return fromStringMethod.invoke(null,new Object [] { source });