Lines 342-349
Link Here
|
342 |
if (mustImplementAbstractMethod(methods[i].declaringClass)) { |
342 |
if (mustImplementAbstractMethod(methods[i].declaringClass)) { |
343 |
TypeDeclaration typeDeclaration = this.type.scope.referenceContext; |
343 |
TypeDeclaration typeDeclaration = this.type.scope.referenceContext; |
344 |
if (typeDeclaration != null) { |
344 |
if (typeDeclaration != null) { |
345 |
MethodDeclaration missingAbstractMethod = typeDeclaration.addMissingAbstractMethodFor(methods[0]); |
345 |
MethodDeclaration missingAbstractMethod = typeDeclaration.addMissingAbstractMethodFor(methods[i]); |
346 |
missingAbstractMethod.scope.problemReporter().abstractMethodMustBeImplemented(this.type, methods[0]); |
346 |
missingAbstractMethod.scope.problemReporter().abstractMethodMustBeImplemented(this.type, methods[i]); |
347 |
} else { |
347 |
} else { |
348 |
problemReporter().abstractMethodMustBeImplemented(this.type, methods[0]); |
348 |
problemReporter().abstractMethodMustBeImplemented(this.type, methods[0]); |
349 |
} |
349 |
} |