Lines 376-383
Link Here
|
376 |
if (((ReferenceBinding)this.recipient).isAnnotationType()) { |
376 |
if (((ReferenceBinding)this.recipient).isAnnotationType()) { |
377 |
if ((metaTagBits & (TagBits.AnnotationForAnnotationType|TagBits.AnnotationForType)) != 0) |
377 |
if ((metaTagBits & (TagBits.AnnotationForAnnotationType|TagBits.AnnotationForType)) != 0) |
378 |
break checkTargetCompatibility; |
378 |
break checkTargetCompatibility; |
379 |
} else if ((metaTagBits & TagBits.AnnotationForType) != 0) |
379 |
} else if ((metaTagBits & TagBits.AnnotationForType) != 0) { |
380 |
break checkTargetCompatibility; |
380 |
break checkTargetCompatibility; |
|
|
381 |
} else if ((metaTagBits & TagBits.AnnotationForPackage) != 0) { |
382 |
if (CharOperation.equals(((ReferenceBinding)this.recipient).sourceName, TypeConstants.PACKAGE_INFO_NAME)) |
383 |
break checkTargetCompatibility; |
384 |
} |
381 |
break; |
385 |
break; |
382 |
case Binding.METHOD : |
386 |
case Binding.METHOD : |
383 |
if (((MethodBinding)this.recipient).isConstructor()) { |
387 |
if (((MethodBinding)this.recipient).isConstructor()) { |