Lines 1016-1022
Link Here
|
1016 |
} |
1016 |
} |
1017 |
} while ((current = current.enclosingType()) != null); |
1017 |
} while ((current = current.enclosingType()) != null); |
1018 |
} |
1018 |
} |
1019 |
this.maxFieldCount = 0; |
1019 |
// this.maxFieldCount might already be set |
|
|
1020 |
int localMaxFieldCount = 0; |
1020 |
int lastVisibleFieldID = -1; |
1021 |
int lastVisibleFieldID = -1; |
1021 |
boolean hasEnumConstants = false; |
1022 |
boolean hasEnumConstants = false; |
1022 |
FieldDeclaration[] enumConstantsWithoutBody = null; |
1023 |
FieldDeclaration[] enumConstantsWithoutBody = null; |
Lines 1057-1063
Link Here
|
1057 |
&& TypeBinding.LONG == fieldBinding.type) { |
1058 |
&& TypeBinding.LONG == fieldBinding.type) { |
1058 |
needSerialVersion = false; |
1059 |
needSerialVersion = false; |
1059 |
} |
1060 |
} |
1060 |
this.maxFieldCount++; |
1061 |
localMaxFieldCount++; |
1061 |
lastVisibleFieldID = field.binding.id; |
1062 |
lastVisibleFieldID = field.binding.id; |
1062 |
break; |
1063 |
break; |
1063 |
|
1064 |
|
Lines 1068-1073
Link Here
|
1068 |
field.resolve(field.isStatic() ? this.staticInitializerScope : this.initializerScope); |
1069 |
field.resolve(field.isStatic() ? this.staticInitializerScope : this.initializerScope); |
1069 |
} |
1070 |
} |
1070 |
} |
1071 |
} |
|
|
1072 |
if (this.maxFieldCount < localMaxFieldCount) { |
1073 |
this.maxFieldCount = localMaxFieldCount; |
1074 |
} |
1071 |
if (needSerialVersion) { |
1075 |
if (needSerialVersion) { |
1072 |
this.scope.problemReporter().missingSerialVersion(this); |
1076 |
this.scope.problemReporter().missingSerialVersion(this); |
1073 |
} |
1077 |
} |