if (property.isMethod() && !isProperty((MethodDoc) property))
return;
if (property.isStatic())
return;
AnnotationDesc columnAnnotation = Utils.findAnnotation(property, javax.persistence.Column.class);
if (columnAnnotation == null)
columnAnnotation = Utils.findAnnotation(property, javax.persistence.JoinColumn.class);
AnnotationDesc transientAnnotation = Utils.findAnnotation(property, Transient.class);
boolean hasJPAAnnotation = columnAnnotation != null;
boolean isTransient = transientAnnotation != null;
if (property.isField()) {
isTransient |= ((FieldDoc) property).isTransient();
}