public boolean traverse(ClassDoc classDoc) {
return true;
}
private void createConst(ASClassType classType, String name, String initializer, String type, String comment) {
ASField field = classType.newField(name, Visibility.PUBLIC, type);
field.setInitializer(initializer);
field.setStatic(true);
field.setConst(true);
if (!StringUtils.isEmpty(comment)) field.setDescription(comment.trim());
}