code: public final boolean isQualifiedName() {
      switch (this.getToken()) {
        case NAME:
          return !getString().isEmpty();
        case THIS:
        case SUPER:
          return true;
        case GETPROP:
          return getFirstChild().isQualifiedName();
  
        case MEMBER_FUNCTION_DEF:
          // These are explicitly *not* qualified name components.
        default:
          return false;
      }
    }
docs: Returns whether a node corresponds to a simple or a qualified name, such as
  <code>x</code> or <code>a.b.c</code> or <code>this.a</code>.