@SuppressWarnings("unchecked") private void handleWhereClause(final ASTQuery astQuery,final QueryBase queryRoot) throws VisitorException {
  final ASTWhereClause whereClause=astQuery.getWhereClause();
  if (whereClause != null) {
    final ASTGraphPatternGroup graphPatternGroup=whereClause.getGraphPatternGroup();
    graphPattern=scopedGroupGraphPattern(astQuery);
    final GraphPatternGroup<IGroupMemberNode> ret=(GraphPatternGroup<IGroupMemberNode>)graphPatternGroup.jjtAccept(this,null);
    queryRoot.setWhereClause(ret);
  }
}

@ SuppressWarnings ( "unchecked" ) private void handleWhereClause ( final ASTQuery astQuery , final QueryBase queryRoot ) throws VisitorException { final ASTWhereClause whereClause = astQuery . getWhereClause ( ) ; if ( whereClause != null ) { final ASTGraphPatternGroup graphPatternGroup = whereClause . getGraphPatternGroup ( ) ; graphPattern = scopedGroupGraphPattern ( astQuery ) ; final GraphPatternGroup < IGroupMemberNode > ret = ( GraphPatternGroup < IGroupMemberNode > ) graphPatternGroup . jjtAccept ( this , null ) ; queryRoot . setWhereClause ( ret ) ; } }
handle the optional where clause . ( for example , describe may be used without a where clause . ) < p > note : this delegates the translation to a helper visitor . a subselect will wind up delegated back to an instance of this visitor .
