public boolean equals(Object obj) {
        if (obj instanceof TypeMirrorImpl) {
            TypeMirrorImpl that = (TypeMirrorImpl) obj;
            return env.jctypes.isSameType(this.type, that.type);
        } else {
            return false;
        }
    }