private void processMetaClassMembers(@NotNull Consumer<? super PyClassLikeType> typeTypeConsumer,
                                       @NotNull Processor<? super PyTargetExpression> instanceTypeAttributesProcessor,
                                       @NotNull TypeEvalContext context) {
    if (!myClass.isNewStyleClass(context)) return;

    final PyClassLikeType typeType = getMetaClassType(context, true);
    if (typeType == null) return;

    if (isDefinition()) {
      typeTypeConsumer.accept(typeType.toInstance());
    }
    else if (typeType instanceof PyClassType) {
      for (PyTargetExpression attribute : ((PyClassType)typeType).getPyClass().getInstanceAttributes()) {
        if (!instanceTypeAttributesProcessor.process(attribute)) return;
      }
    }
  }
private void processMetaClassMembers(@NotNull Consumer<? super PyClassLikeType> typeTypeConsumer,
                                       @NotNull Processor<? super PyTargetExpression> instanceTypeAttributesProcessor,
                                       @NotNull TypeEvalContext context)