code: @Override
      public boolean accept(final Node aNode) {
  
          // Only deal with Element nodes with "name" attributes.
          if (!DomHelper.isNamedElement(aNode)) {
              return false;
          }
  
          /*
          <xs:complexType name="somewhatNamedPerson">
              <!-- ClassLocation JavaDocData insertion point -->
  
              <xs:sequence>
  
                  <!-- FieldLocation or MethodLocation JavaDocData insertion point (within child) -->
                  <xs:element name="firstName" type="xs:string" nillable="true" minOccurs="0"/>
  
                  <!-- FieldLocation or MethodLocation JavaDocData insertion point (within child) -->
                  <xs:element name="lastName" type="xs:string"/>
              </xs:sequence>
  
              <!-- FieldLocation or MethodLocation JavaDocData insertion point (within child) -->
              <xs:attribute name="age" type="xs:int" use="required"/>
          </xs:complexType>
          */
  
          // Only process nodes corresponding to Types we have any JavaDoc for.
          // TODO: How should we handle PackageLocations and package documentation?
  
          boolean toReturn = false;
          if (DomHelper.getMethodLocation(aNode, methodJavaDocs.keySet()) != null) {
              toReturn = true;
          } else if (DomHelper.getFieldLocation(aNode, fieldJavaDocs.keySet()) != null) {
              toReturn = true;
          } else if (DomHelper.getClassLocation(aNode, classJavaDocs.keySet()) != null) {
              toReturn = true;
          }
  
          // All done.
          return toReturn;
      }
docs: {@inheritDoc}