question: remove the passed condition node from the ast , and then return a minimizedcondition that represents the condition node after minimization . concode_field_sep Node node concode_elem_sep MeasuredNode negative concode_elem_sep int length concode_elem_sep MeasuredNode positive concode_elem_sep Node placeholder concode_elem_sep Comparator<MeasuredNode> AST_LENGTH_COMPARATOR concode_elem_sep boolean changed concode_field_sep int compare concode_elem_sep Node getPlaceholder concode_elem_sep MeasuredNode addNode concode_elem_sep MeasuredNode getMinimized concode_elem_sep MeasuredNode change concode_elem_sep MeasuredNode addNot concode_elem_sep MinimizedCondition computeMinimizedCondition concode_elem_sep Node swapWithPlaceholderNode concode_elem_sep MeasuredNode cloneTree concode_elem_sep MinimizedCondition setPlaceholder concode_elem_sep boolean isChanged concode_elem_sep MeasuredNode negate concode_elem_sep int estimateCostOneLevel concode_elem_sep MinimizedCondition unoptimized concode_elem_sep Node getNode
target: MinimizedCondition function ( Node arg0 ) { switch ( arg0 . getType ( ) ) { case Token . NOT : case Token . AND : case Token . OR : case Token . HOOK : case Token . COMMA : Node loc0 = swapWithPlaceholderNode ( arg0 ) ; return computeMinimizedCondition ( arg0 ) . setPlaceholder ( loc0 ) ; default : return unoptimized ( arg0 ) ; } }