rather than printing a warning message to System.err
this fixes the dirty output that was very visible when running the
harness with -emacssym enabled
relation = AdviceAssociation.METHOD_RELATION;
} else if (shadow.getKind().equals(Shadow.ConstructorExecution)) {
relation = AdviceAssociation.CONSTRUCTOR_RELATION;
+ } else if (shadow.getKind().equals(Shadow.PreInitialization)) {
+ // TODO: someone should check that this behaves reasonably in the IDEs
+ relation = AdviceAssociation.INITIALIZER_RELATION;
} else {
System.err.println("> unmatched relation: " + shadow.getKind());
relation = AdviceAssociation.METHOD_RELATION;