/** * Returns a String representation of the stored methods. * * @return String */ public String getMethodsAsString() { List<MethodIdentifier> meths = new ArrayList<MethodIdentifier>(); meths.addAll(methods.keySet()); Collections.sort(meths, new MethodIdentifierComparator()); StringBuilder txt = new StringBuilder(256); txt.append("Stored methods: "); for (MethodIdentifier mi : meths) { txt.append("\n\t").append(mi.toString()); for (AnnotatedMethod pm : methods.get(mi)) { txt.append("\n\t\t").append(pm.toString()); } } return txt.toString(); }