public void addField(Type classType, int modifier, Type fieldType, String fieldName, Object value, String comment) {
fieldType = resolveTypeArguments(classType, null, fieldType);
ASClassType asClassType = (ASClassType) type;
if (asClassType.getField(fieldName) == null) asClassType.newField(fieldName, getVisibility(modifier), fieldType.getName());
}