@Nullable private boolean shouldAlignFieldInColumns(@NotNull ASTNode child){
  if (!mySettings.ALIGN_GROUP_FIELD_DECLARATIONS) {
    return false;
  }
  IElementType childType=child.getElementType();
  ASTNode previousNode=FormatterUtil.getPreviousNonWhitespaceSibling(child);
  if (childType == JavaTokenType.IDENTIFIER && (previousNode == null || previousNode.getElementType() == JavaTokenType.COMMA)) {
    return false;
  }
  return true;
}

@ Nullable private boolean shouldAlignFieldInColumns ( @ NotNull ASTNode child ) { if ( ! mySettings . ALIGN_GROUP_FIELD_DECLARATIONS ) { return false ; } IElementType childType = child . getElementType ( ) ; ASTNode previousNode = FormatterUtil . getPreviousNonWhitespaceSibling ( child ) ; if ( childType == JavaTokenType . IDENTIFIER && ( previousNode == null || previousNode . getElementType ( ) == JavaTokenType . COMMA ) ) { return false ; } return true ; }
encapsulates alignment retrieval logic for variable declaration use - case assuming that given node is a child node of basic variable declaration node .
