/** * Prints stereotype values * * @param a stereotype value */ @Override public void handle(ASTStereoValue a) { getPrinter().print(a.getName()); if (a.getSource().isPresent()) { getPrinter().print(" = " + a.getSource().get()); } }
/** * Prints the start of stereotypes * * @param a stereotype */ @Override public void handle(ASTStereotype a) { getPrinter().print("<<"); String sep = ""; for (ASTStereoValue value : a.getValues()) { getPrinter().print(sep); value.accept(getRealThis()); sep = ", "; } getPrinter().print(">>"); }