View | Details | Raw Unified | Return to bug 83219
Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/ast/TypeDeclaration.java (-2 / +3 lines)
Lines 1001-1008 Link Here
1001
			if (kind() == IGenericType.ENUM_DECL && this.binding.isAbstract()) {
1001
			if (kind() == IGenericType.ENUM_DECL && this.binding.isAbstract()) {
1002
				if (!hasEnumConstants || hasEnumConstantsWithoutBody) {
1002
				if (!hasEnumConstants || hasEnumConstantsWithoutBody) {
1003
					for (int i = 0, count = this.methods.length; i < count; i++) {
1003
					for (int i = 0, count = this.methods.length; i < count; i++) {
1004
						if (this.methods[i].isAbstract()) {
1004
						final AbstractMethodDeclaration methodDeclaration = this.methods[i];
1005
							this.scope.problemReporter().enumAbstractMethodMustBeImplemented(this.methods[i]);
1005
						if (methodDeclaration.isAbstract() && methodDeclaration.binding != null) {
1006
							this.scope.problemReporter().enumAbstractMethodMustBeImplemented(methodDeclaration);
1006
						}
1007
						}
1007
					}
1008
					}
1008
				}
1009
				}

Return to bug 83219