String ginjectorClassName, JClassType ginjectorClass)
throws UnableToCompleteException {
// Look for the title function in the parent presenter
TitleFunctionDescription result = null;
for (JMethod method : presenterClass.getMethods()) {
TitleFunction annotation = method.getAnnotation(TitleFunction.class);
if (annotation != null) {
if (result != null) {
logger.log(TreeLogger.ERROR, "At least two methods in presenter "
+ presenterClassName + "are annotated with @"
+ TitleFunction.class.getSimpleName() + ". This is illegal.");