ArrayMemberValue arrayMemberValue = new ArrayMemberValue(cp);
arrayMemberValue.setValue(members);
return arrayMemberValue;
} else if (type.isInterface()) {
javassist.bytecode.annotation.Annotation info = new javassist.bytecode.annotation.Annotation(cp, type);
return new AnnotationMemberValue(info, cp);
} else {
// treat as enum. I know this is not typed,
// but JBoss has an Annotation Compiler for JDK 1.4
// and I want it to work with that. - Bill Burke
EnumMemberValue emv = new EnumMemberValue(cp);