Program: 65707
Project: 65707
Buggy source:
/** 
 * Returns true if the field or method passed in is annotated with JAXB annotations.
 */
private boolean hasJAXBAnnotations(JavaHasAnnotations elem){
  return (helper.isAnnotationPresent(elem,XmlElement.class) || helper.isAnnotationPresent(elem,XmlAttribute.class) || helper.isAnnotationPresent(elem,XmlAnyElement.class)|| helper.isAnnotationPresent(elem,XmlAnyAttribute.class)|| helper.isAnnotationPresent(elem,XmlValue.class)|| helper.isAnnotationPresent(elem,XmlElements.class)|| helper.isAnnotationPresent(elem,XmlElementRef.class)|| helper.isAnnotationPresent(elem,XmlElementRefs.class)|| helper.isAnnotationPresent(elem,XmlID.class)|| helper.isAnnotationPresent(elem,XmlInlineBinaryData.class)|| helper.isAnnotationPresent(elem,XmlSchemaType.class)|| helper.isAnnotationPresent(elem,XmlElementWrapper.class)|| helper.isAnnotationPresent(elem,XmlList.class)|| helper.isAnnotationPresent(elem,XmlMimeType.class)|| helper.isAnnotationPresent(elem,XmlIDREF.class)|| helper.isAnnotationPresent(elem,XmlTransient.class)|| helper.isAnnotationPresent(elem,XmlPath.class)|| helper.isAnnotationPresent(elem,XmlPaths.class)|| helper.isAnnotationPresent(elem,XmlInverseReference.class)|| helper.isAnnotationPresent(elem,XmlJoinNode.class)|| helper.isAnnotationPresent(elem,XmlJoinNodes.class)|| helper.isAnnotationPresent(elem,XmlReadOnly.class)|| helper.isAnnotationPresent(elem,XmlWriteOnly.class)|| helper.isAnnotationPresent(elem,XmlCDATA.class)|| helper.isAnnotationPresent(elem,XmlAccessMethods.class)|| helper.isAnnotationPresent(elem,XmlNullPolicy.class)|| helper.isAnnotationPresent(elem,XmlJavaTypeAdapter.class)|| helper.isAnnotationPresent(elem,XmlMixed.class));
}

Fixed version (ground truth):
/** 
 * Returns true if the field or method passed in is annotated with JAXB annotations.
 */
private boolean hasJAXBAnnotations(JavaHasAnnotations elem){
  return (helper.isAnnotationPresent(elem,XmlAttachmentRef.class)) || (helper.isAnnotationPresent(elem,XmlElement.class) || helper.isAnnotationPresent(elem,XmlAttribute.class) || helper.isAnnotationPresent(elem,XmlAnyElement.class)|| helper.isAnnotationPresent(elem,XmlAnyAttribute.class)|| helper.isAnnotationPresent(elem,XmlValue.class)|| helper.isAnnotationPresent(elem,XmlElements.class)|| helper.isAnnotationPresent(elem,XmlElementRef.class)|| helper.isAnnotationPresent(elem,XmlElementRefs.class)|| helper.isAnnotationPresent(elem,XmlID.class)|| helper.isAnnotationPresent(elem,XmlInlineBinaryData.class)|| helper.isAnnotationPresent(elem,XmlSchemaType.class)|| helper.isAnnotationPresent(elem,XmlElementWrapper.class)|| helper.isAnnotationPresent(elem,XmlList.class)|| helper.isAnnotationPresent(elem,XmlMimeType.class)|| helper.isAnnotationPresent(elem,XmlIDREF.class)|| helper.isAnnotationPresent(elem,XmlTransient.class)|| helper.isAnnotationPresent(elem,XmlPath.class)|| helper.isAnnotationPresent(elem,XmlPaths.class)|| helper.isAnnotationPresent(elem,XmlInverseReference.class)|| helper.isAnnotationPresent(elem,XmlJoinNode.class)|| helper.isAnnotationPresent(elem,XmlJoinNodes.class)|| helper.isAnnotationPresent(elem,XmlReadOnly.class)|| helper.isAnnotationPresent(elem,XmlWriteOnly.class)|| helper.isAnnotationPresent(elem,XmlCDATA.class)|| helper.isAnnotationPresent(elem,XmlAccessMethods.class)|| helper.isAnnotationPresent(elem,XmlNullPolicy.class)|| helper.isAnnotationPresent(elem,XmlJavaTypeAdapter.class)|| helper.isAnnotationPresent(elem,XmlMixed.class));
}