public static String takePortraitOf(final Class<?> clazz, final String basePackage) {
        final Map<Class<?>, List<String>> portrait = new HashMap<>();
        takePortraitOf(clazz, portrait, basePackage);
        final List<String> flattenedPortrait = flattenPortrait(portrait);
        // If we don't sort the portrait it might have a different order every time.
        flattenedPortrait.sort(String::compareTo);
        return String.join(newLine, flattenedPortrait);
    }
Creates a text representation (a 'portrait') of a class's public methods.
<p>
Only recurses over those classes that match a base package.
stroom-query/stroom-query-api/src/test/java/stroom/query/api/current/ClassPhotographer.java