public SupportsCondition handleSupportsQuery(HiddenTokenAwareTree token) {
Iterator<HiddenTokenAwareTree> children = token.getChildren().iterator();
SyntaxOnlyElement openingParentheses = toSyntaxOnlyElement(children.next());
Declaration declaration = (Declaration) switchOn(children.next());
SyntaxOnlyElement closingParentheses = toSyntaxOnlyElement(children.next());
SupportsQuery result = new SupportsQuery(token, openingParentheses, closingParentheses, declaration);
return result;
}