* @return true, if method bindings expected
*/
public static boolean isMethodBindingExpected(
final IStructuredDocumentContext context,
final List expectedBindings) {
final IDOMContextResolver domResolver = IStructuredDocumentContextResolverFactory.INSTANCE
.getDOMContextResolver(context);
final Node curNode = domResolver.getNode();
if (curNode instanceof Attr) {
final Attr attr = (Attr) curNode;
final Element element = attr.getOwnerElement();