The class ParameterDefinitionEntry represents a parameter in the report (MasterReport), and the method getParameterAttribute(String domain, String name, ParameterContext parameterContext) gets the label. Where can I get the domain from? I've looked in the MasterReport, DefaultParameterContext... god knows why it can't be called 'getLabel()' and not reference a bunch of obscure, hidden-away classes.