return new ClassAnnotationValue(constPool, name, (Class<?>) value); } else if (type.isEnum() || (type.getEnclosingClass() != null && type.getEnclosingClass().isEnum())) { return new EnumAnnotationValue(constPool, name, (Enum<?>) value); } else if (value instanceof Annotation) { return new AnnotationAnnotationValue(constPool, name, createAnnotation(constPool, (Annotation) value));
return new ClassAnnotationValue(constPool, name, (Class<?>) value); } else if (type.isEnum() || (type.getEnclosingClass() != null && type.getEnclosingClass().isEnum())) { return new EnumAnnotationValue(constPool, name, (Enum<?>) value); } else if (value instanceof Annotation) { return new AnnotationAnnotationValue(constPool, name, createAnnotation(constPool, (Annotation) value));
return new ClassAnnotationValue(constPool, name, (Class<?>) value); } else if (type.isEnum() || (type.getEnclosingClass() != null && type.getEnclosingClass().isEnum())) { return new EnumAnnotationValue(constPool, name, (Enum<?>) value); } else if (value instanceof Annotation) { return new AnnotationAnnotationValue(constPool, name, createAnnotation(constPool, (Annotation) value));
return new ClassAnnotationValue(constPool, name, (Class<?>) value); } else if (type.isEnum() || (type.getEnclosingClass() != null && type.getEnclosingClass().isEnum())) { return new EnumAnnotationValue(constPool, name, (Enum<?>) value); } else if (value instanceof Annotation) { return new AnnotationAnnotationValue(constPool, name, createAnnotation(constPool, (Annotation) value));
return new ClassAnnotationValue(constPool, name, (Class<?>) value); } else if (type.isEnum() || (type.getEnclosingClass() != null && type.getEnclosingClass().isEnum())) { return new EnumAnnotationValue(constPool, name, (Enum<?>) value); } else if (value instanceof Annotation) { return new AnnotationAnnotationValue(constPool, name, createAnnotation(constPool, (Annotation) value));