Lines 319-325
Link Here
|
319 |
sourceType.tagBits |= tagBits; |
319 |
sourceType.tagBits |= tagBits; |
320 |
if ((tagBits & TagBits.AnnotationSuppressWarnings) != 0) { |
320 |
if ((tagBits & TagBits.AnnotationSuppressWarnings) != 0) { |
321 |
TypeDeclaration typeDeclaration = sourceType.scope.referenceContext; |
321 |
TypeDeclaration typeDeclaration = sourceType.scope.referenceContext; |
322 |
recordSuppressWarnings(scope, typeDeclaration.declarationSourceStart, typeDeclaration.declarationSourceEnd, scope.compilerOptions().suppressWarnings); |
322 |
int start; |
|
|
323 |
if (scope.referenceCompilationUnit().types[0] == typeDeclaration) { |
324 |
start = 0; |
325 |
} else { |
326 |
start = typeDeclaration.declarationSourceStart; |
327 |
} |
328 |
recordSuppressWarnings(scope, start, typeDeclaration.declarationSourceEnd, scope.compilerOptions().suppressWarnings); |
323 |
} |
329 |
} |
324 |
break; |
330 |
break; |
325 |
case Binding.METHOD : |
331 |
case Binding.METHOD : |