for (int i = 0; i < pps.length; i++) {
PersistenceProperty pp = pps[i];
properties.setProperty(pp.name(), pp.value());
}
}
metadata.add(new AnnotatedMember(member, pc.unitName(), pc.type(), properties));
}
else if (pu != null) {
if (member instanceof Method && ((Method) member).getParameterTypes().length != 1) {
throw new IllegalStateException("PersistenceUnit annotation requires a single-arg method: " + member);
}