}
private static void addProperties(ClassModel classModel, List<? extends Member> properties) {
for (Member member : properties) {
if (classModel.getMember(member.name) == null) {
PropertyModel propertyModel = new PropertyModel(convertName(member.name), convertType(member.type));
propertyModel.setAsdoc(toAsDoc(member.doc));
setStatic(propertyModel, member);
propertyModel.addGetter();
if (!member.meta.readonly) {
propertyModel.addSetter();
}
classModel.addMember(propertyModel);
}
}
}