public <B extends T> BooleanExpression instanceOf(Class<B> type) {
        return Expressions.booleanOperation(Ops.INSTANCE_OF, pathMixin, ConstantImpl.create(type));
    }
Create an {@code this instanceOf type} expression

@param <B>
@param type rhs of the expression
@return instanceof expression
querydsl-core/src/main/java/com/querydsl/core/types/dsl/BeanPath.java