newStrMember = prefix + "'" + missingOverridesArray[i].getDisplayName() + "'";
}
stringMembersArrayListSet.add(newStrMember);
}
String[] stringMembersArray = stringMembersArrayListSet.toArray(new String[stringMembersArrayListSet.size()]);
AnalysisErrorWithProperties analysisError;
if (stringMembersArray.length == 1) {
analysisError = errorReporter.newErrorWithProperties(
StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_ONE,
classNameNode,
stringMembersArray[0]);
} else if (stringMembersArray.length == 2) {
analysisError = errorReporter.newErrorWithProperties(
StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_TWO,
classNameNode,
stringMembersArray[0],
stringMembersArray[1]);
} else if (stringMembersArray.length == 3) {
analysisError = errorReporter.newErrorWithProperties(
StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_THREE,
classNameNode,
stringMembersArray[0],
stringMembersArray[1],
stringMembersArray[2]);
} else if (stringMembersArray.length == 4) {
analysisError = errorReporter.newErrorWithProperties(
StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_FOUR,
classNameNode,
stringMembersArray[0],
stringMembersArray[1],
stringMembersArray[2],
stringMembersArray[3]);
} else {
analysisError = errorReporter.newErrorWithProperties(
StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_FIVE_PLUS,
classNameNode,
stringMembersArray[0],
stringMembersArray[1],
stringMembersArray[2],
stringMembersArray[3],
stringMembersArray.length - 4);
}
analysisError.setProperty(ErrorProperty.UNIMPLEMENTED_METHODS, missingOverridesArray);
errorReporter.reportError(analysisError);
return true;
}