Buggy code:
public abstract class ReferenceBinding extends TypeBinding { public char [ ] [ ] compoundName ; public char [ ] sourceName ; public int modifiers ; public PackageBinding fPackage ; char [ ] fileName ; char [ ] constantPoolName ; char [ ] signature ; private SimpleLookupTable compatibleCache ; public static final ReferenceBinding LUB_GENERIC = new ReferenceBinding ( ) { } ; private static final Comparator FIELD_COMPARATOR = new Comparator ( ) { public int compare ( Object o1 , Object o2 ) { } } ; private static final Comparator METHOD_COMPARATOR = new Comparator ( ) { public int compare ( Object o1 , Object o2 ) { } } ; public static FieldBinding binarySearch ( char [ ] name , FieldBinding [ ] sortedFields ) { } public static long binarySearch ( char [ ] selector , MethodBinding [ ] sortedMethods ) { } static int compare ( char [ ] str1 , char [ ] str2 , int len1 , int len2 ) { } public static void sortFields ( FieldBinding [ ] sortedFields , int left , int right ) { } public static void sortMethods ( MethodBinding [ ] sortedMethods , int left , int right ) { } public FieldBinding [ ] availableFields ( ) { } public MethodBinding [ ] availableMethods ( ) { } public boolean canBeInstantiated ( ) { } public final boolean canBeSeenBy ( PackageBinding invocationPackage ) { } public final boolean canBeSeenBy ( ReferenceBinding receiverType , ReferenceBinding invocationType ) { } public final boolean canBeSeenBy ( Scope scope ) { } public char [ ] computeGenericTypeSignature ( TypeVariableBinding [ ] typeVariables ) { } public void computeId ( ) { } public char [ ] computeUniqueKey ( boolean isLeaf ) { } public char [ ] constantPoolName ( ) { } public String debugName ( ) { } public final int depth ( ) { } public boolean detectAnnotationCycle ( ) { } public final ReferenceBinding enclosingTypeAt ( int relativeDepth ) { } public int enumConstantCount ( ) { } public int fieldCount ( ) { } public FieldBinding [ ] fields ( ) { } public final int getAccessFlags ( ) { } public AnnotationBinding [ ] getAnnotations ( ) { } public long getAnnotationTagBits ( ) { } public int getEnclosingInstancesSlotSize ( ) { } public MethodBinding getExactConstructor ( TypeBinding [ ] argumentTypes ) { } public MethodBinding getExactMethod ( char [ ] selector , TypeBinding [ ] argumentTypes , CompilationUnitScope refScope ) { } public FieldBinding getField ( char [ ] fieldName , boolean needResolve ) { } public char [ ] getFileName ( ) { } public ReferenceBinding getMemberType ( char [ ] typeName ) { } public MethodBinding [ ] getMethods ( char [ ] selector ) { } public int getOuterLocalVariablesSlotSize ( ) { } public PackageBinding getPackage ( ) { } public TypeVariableBinding getTypeVariable ( char [ ] variableName ) { } public int hashCode ( ) { } public boolean hasIncompatibleSuperType ( ReferenceBinding otherType ) { } public boolean hasMemberTypes ( ) { } public final boolean hasRestrictedAccess ( ) { } public boolean implementsInterface ( ReferenceBinding anInterface , boolean searchHierarchy ) { } boolean implementsMethod ( MethodBinding method ) { } public final boolean isAbstract ( ) { } public boolean isAnnotationType ( ) { } public final boolean isBinaryBinding ( ) { } public boolean isClass ( ) { } public boolean isCompatibleWith ( TypeBinding otherType ) { } private boolean isCompatibleWith0 ( TypeBinding otherType ) { } public final boolean isDefault ( ) { } public final boolean isDeprecated ( ) { } public boolean isEnum ( ) { } public final boolean isFinal ( ) { } public boolean isHierarchyBeingConnected ( ) { } public boolean isInterface ( ) { } public final boolean isPrivate ( ) { } public final boolean isProtected ( ) { } public final boolean isPublic ( ) { } public final boolean isStatic ( ) { } public final boolean isStrictfp ( ) { } public boolean isSuperclassOf ( ReferenceBinding otherType ) { } public boolean isThrowable ( ) { } public boolean isUncheckedException ( boolean includeSupertype ) { } public final boolean isUsed ( ) { } public final boolean isViewedAsDeprecated ( ) { <START_BUG> return ( ( ( this . modifiers ) & ( ( ClassFileConstants . AccDeprecated ) | ( ExtraCompilerModifiers . AccDeprecatedImplicitly ) ) ) != 0 ) || ( ( ( getPackage ( ) . getAnnotationTagBits ( ) ) & ( TagBits . AnnotationDeprecated ) ) != 0 ) ; <END_BUG> } public ReferenceBinding [ ] memberTypes ( ) { } public MethodBinding [ ] methods ( ) { } public final ReferenceBinding outermostEnclosingType ( ) { } public char [ ] qualifiedSourceName ( ) { } public char [ ] readableName ( ) { } public AnnotationHolder retrieveAnnotationHolder ( Binding binding , boolean forceInitialization ) { } AnnotationBinding [ ] retrieveAnnotations ( Binding binding ) { } public void setAnnotations ( AnnotationBinding [ ] annotations ) { } public char [ ] shortReadableName ( ) { } public char [ ] signature ( ) { } public char [ ] sourceName ( ) { } void storeAnnotationHolder ( Binding binding , AnnotationHolder holder ) { } void storeAnnotations ( Binding binding , AnnotationBinding [ ] annotations ) { } SimpleLookupTable storedAnnotations ( boolean forceInitialize ) { } public ReferenceBinding superclass ( ) { } public ReferenceBinding [ ] superInterfaces ( ) { } public ReferenceBinding [ ] syntheticEnclosingInstanceTypes ( ) { } public SyntheticArgumentBinding [ ] syntheticOuterLocalVariables ( ) { } MethodBinding [ ] unResolvedMethods ( ) { } }

Fix:
return ( ( ( this . modifiers ) & ( ( ClassFileConstants . AccDeprecated ) | ( ExtraCompilerModifiers . AccDeprecatedImplicitly ) ) ) != 0 ) || ( getPackage ( ) . isViewedAsDeprecated ( ) ) ;