in arthur-spi/src/main/java/org/apache/geronimo/arthur/spi/model/ClassReflectionModel.java [77:120]
public void merge(final ClassReflectionModel other) {
if (other.getAllDeclaredClasses() != null && other.getAllDeclaredClasses()) {
setAllDeclaredClasses(true);
}
if (other.getAllDeclaredFields() != null && other.getAllDeclaredFields()) {
setAllDeclaredFields(true);
}
if (other.getAllDeclaredConstructors() != null && other.getAllDeclaredConstructors()) {
setAllDeclaredConstructors(true);
}
if (other.getAllDeclaredMethods() != null && other.getAllDeclaredMethods()) {
setAllDeclaredMethods(true);
}
if (other.getAllPublicMethods() != null && other.getAllPublicMethods()) {
setAllPublicMethods(true);
}
if (other.getAllPublicFields() != null && other.getAllPublicFields()) {
setAllPublicFields(true);
}
if (other.getAllPublicConstructors() != null && other.getAllPublicConstructors()) {
setAllPublicConstructors(true);
}
if (other.getAllPublicClasses() != null && other.getAllPublicClasses()) {
setAllPublicClasses(true);
}
if (other.getQueryAllDeclaredMethods() != null && other.getQueryAllDeclaredMethods()) {
setQueryAllDeclaredMethods(true);
}
if (other.getQueryAllDeclaredConstructors() != null && other.getQueryAllDeclaredConstructors()) {
setQueryAllDeclaredConstructors(true);
}
if (other.getQueryAllPublicMethods() != null && other.getQueryAllPublicMethods()) {
setQueryAllPublicMethods(true);
}
if (other.getQueryAllPublicConstructors() != null && other.getQueryAllPublicConstructors()) {
setQueryAllPublicConstructors(true);
}
if (other.getUnsafeAllocated() != null && other.getUnsafeAllocated()) {
setUnsafeAllocated(true);
}
setFields(merge(other.getFields(), getFields()));
setMethods(merge(other.getMethods(), getMethods()));
setQueriedMethods(merge(other.getQueriedMethods(), getQueriedMethods()));
}