private Object resolveEnum(final AnnotationElement.NamedValue namedValue, final ClassLoader loader) {
private Object resolveEnum(final AnnotationElement.NamedValue namedValue) {
    private Object resolveEnum(final AnnotationElement.NamedValue namedValue, final ClassLoader loader) {        AnnotationElement.Enum enumElement = (AnnotationElement.Enum)namedValue.getValue();        String className = AnnotationReader.toJavaName(enumElement.getDesc());        String value = enumElement.getValue();        try {            Class clazz = Class.forName(className, false, loader);            Field field = clazz.getDeclaredField(value);            try {                return field.get(null);            } catch (IllegalAccessException e) {                throw new ResolveAnnotationException(                        "can not access static reference field due to: " + e.toString(), e                );            }        } catch (Exception e) {            throw new ResolveAnnotationException(                    "could not retrieve static reference to field (enum) [" + className + "." +                    namedValue.getName() + "] due to: " + e.toString(), e            );        }    }