c = new AutocompleteCandidate(JavaCompletionTypes.CUSTOM_TYPE, arg0.getText());
addQuery(c);
c = new AutocompleteCandidate(JavaCompletionTypes.NAME, arg0.getText());
addQuery(c);
} else {
BlockStatementContext bs = (BlockStatementContext)arg0.getParent();
if(bs.getChildCount()>1) {
addQuery(classUtils.expandExpression(bs.getText(), registry));
}
}
}
if(arg0.getParent() instanceof ExpressionContext) {
// we are the leftmost child of the expression