if (site.tag == CLASS) {
if (site.getEnclosingType().tag == CLASS) {
// we are calling a nested class
if (tree.meth.getTag() == JCTree.SELECT) {
JCTree qualifier = ((JCFieldAccess) tree.meth).selected;
// We are seeing a prefixed call, of the form
// <expr>.super(...).
// Check that the prefix expression conforms
// to the outer instance type of the class.
chk.checkRefType(qualifier.pos(),
attribExpr(qualifier, localEnv,
site.getEnclosingType()));
} else if (methName == names._super) {
// qualifier omitted; check for existence
// of an appropriate implicit qualifier.