else if (type == CtClass.longType)
return new LongMemberValue((Long) value, cp);
else if (type == CtClass.floatType)
return new FloatMemberValue((Float) value, cp);
else if (type == CtClass.doubleType)
return new DoubleMemberValue((Double) value, cp);
else if (type.getName().equals("java.lang.Class"))
return new ClassMemberValue(((Class<?>) value).getName(), cp);
else if (type.getName().equals("java.lang.String"))
return new StringMemberValue((String) value, cp);
else if (type.isArray()) {