Type based upon an {@link OJClass}.
Use this class only if the class is a 'pure' OJClass:
- If the {@link OJClass} is based upon a Java class, call {@link #createJavaType} instead.
- If the {@link OJClass} is synthetic, call {@link OJTypeFactoryImpl#createStructType} or {@link OJTypeFactoryImpl#createJoinType} instead.