PyClassLikeType () { final PyBuiltinCache builtinCache = PyBuiltinCache.getInstance(this); final PyClassType objectType = builtinCache.getObjectType(); if (objectType != null && this == objectType.getPyClass()) { return null; } if (LanguageLevel.forElement(this).isPython2() && getMetaClassQName() == null && !hasNewStyleMetaClass(this)) { return null; } return objectType == null ? null : objectType.toClass(); }