- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
target.getCausalRelationships().clear(); target.getCausalRelationships().addAll(source.getCausalRelationships()); target.getAnnotations().clear(); target.getAnnotations().addAll(source.getAnnotations());