private boolean isAttributeBlock(final Block block) {
    if (block instanceof XmlBlock) {
      return isAttributeElementType(((XmlBlock)block).getNode().getElementType());
    }
    return false;
  }
private boolean isAttributeBlock(final Block block)