@SuppressWarnings({ "unchecked", "rawtypes" }) BuiltInFunctionArgInfo(Argument argument) { if (argument.enumeration().length() > 0) { this.isConstant = true; this.defaultValue = null; String packageName = FunctionExpression.class.getPackage().getName(); try { clazz = Class.forName(packageName + "." + argument.enumeration()); } catch (ClassNotFoundException e) { try { clazz = Class.forName(argument.enumeration()); } catch (ClassNotFoundException e1) { throw new IllegalStateException("The enumeration annotation '" + argument.enumeration() + "' does not resolve to a enumeration class");
@SuppressWarnings({ "unchecked", "rawtypes" }) BuiltInFunctionArgInfo(Argument argument) { if (argument.enumeration().length() > 0) { this.isConstant = true; this.defaultValue = null; String packageName = FunctionExpression.class.getPackage().getName(); try { clazz = Class.forName(packageName + "." + argument.enumeration()); } catch (ClassNotFoundException e) { try { clazz = Class.forName(argument.enumeration()); } catch (ClassNotFoundException e1) { throw new IllegalStateException("The enumeration annotation '" + argument.enumeration() + "' does not resolve to a enumeration class");
@SuppressWarnings({ "unchecked", "rawtypes" }) BuiltInFunctionArgInfo(Argument argument) { if (argument.enumeration().length() > 0) { this.isConstant = true; this.defaultValue = null; String packageName = FunctionExpression.class.getPackage().getName(); try { clazz = Class.forName(packageName + "." + argument.enumeration()); } catch (ClassNotFoundException e) { try { clazz = Class.forName(argument.enumeration()); } catch (ClassNotFoundException e1) { throw new IllegalStateException("The enumeration annotation '" + argument.enumeration() + "' does not resolve to a enumeration class");