Tree.TypeArguments typeArguments = qmte.getTypeArguments();
ProducedReference producedReference = method.getProducedReference(qualifyingType, typeArguments.getTypeModels());
return utilInvocation().checkNull(makeJavaStaticInvocation(gen(),
method, producedReference, parameterList));
} else if (decl instanceof Class) {
Class class_ = (Class)decl;
final ParameterList parameterList = class_.getParameterLists().get(0);
ProducedReference producedReference = qmte.getTarget();
return utilInvocation().checkNull(makeJavaStaticInvocation(gen(),
class_, producedReference, parameterList));
} else {
return makeErroneous(qmte, "compiler bug: unsupported static");