test_class.file: support-metrics-client/src/test/java/io/confluent/support/metrics/collectors/CollectorFactoryTest.java
test_class.identifier: CollectorFactoryTest
test_case.body: @Test
      public void testBasicType() {
          // Given
          TimeUtils time = new TimeUtils();
          CollectorFactory factory = new CollectorFactory(CollectorType.BASIC, time, null, null, null);
  
          // when
          CollectorType type = factory.getType();
  
          // Then
          assertThat(type).isEqualTo(CollectorType.BASIC);
      }
test_case.class_method_signature: CollectorFactoryTest.testBasicType()
test_case.full_signature: @Test public void testBasicType()
test_case.identifier: testBasicType
test_case.invocations: getType isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBasicType()
focal_class.declarator: type
focal_class.modifier: private final
focal_class.original_string: private final CollectorType type;
focal_class.type: CollectorType
focal_class.var_name: type
focal_class.declarator: collector
focal_class.modifier: private final
focal_class.original_string: private final Collector collector;
focal_class.type: Collector
focal_class.var_name: collector
focal_class.declarator: basicCollectorSupplier =
        new CollectorFactory.CollectorConstructorSupplier(new CollectorFactory.ConstructorSupplier() {
          @Override
          public Constructor get() throws ClassNotFoundException, NoSuchMethodException {
            return Class.forName("io.confluent.support.metrics.collectors.BasicCollector")
                .getConstructor(KafkaServer.class, TimeUtils.class);
          }
        })
focal_class.modifier: private static
focal_class.original_string: private static CollectorConstructorSupplier
        basicCollectorSupplier =
        new CollectorFactory.CollectorConstructorSupplier(new CollectorFactory.ConstructorSupplier() {
          @Override
          public Constructor get() throws ClassNotFoundException, NoSuchMethodException {
            return Class.forName("io.confluent.support.metrics.collectors.BasicCollector")
                .getConstructor(KafkaServer.class, TimeUtils.class);
          }
        });
focal_class.type: CollectorConstructorSupplier
focal_class.var_name: basicCollectorSupplier
focal_class.declarator: fullCollectorSupplier =
        new CollectorFactory.CollectorConstructorSupplier(new CollectorFactory.ConstructorSupplier() {
          @Override
          public Constructor get() throws ClassNotFoundException, NoSuchMethodException {
            return Class.forName("io.confluent.support.metrics.collectors.FullCollector")
                .getConstructor(KafkaServer.class, Properties.class, Runtime.class, TimeUtils.class);
          }
        })
focal_class.modifier: private static
focal_class.original_string: private static CollectorConstructorSupplier
        fullCollectorSupplier =
        new CollectorFactory.CollectorConstructorSupplier(new CollectorFactory.ConstructorSupplier() {
          @Override
          public Constructor get() throws ClassNotFoundException, NoSuchMethodException {
            return Class.forName("io.confluent.support.metrics.collectors.FullCollector")
                .getConstructor(KafkaServer.class, Properties.class, Runtime.class, TimeUtils.class);
          }
        });
focal_class.type: CollectorConstructorSupplier
focal_class.var_name: fullCollectorSupplier
focal_class.file: support-metrics-client/src/main/java/io/confluent/support/metrics/collectors/CollectorFactory.java
focal_class.identifier: CollectorFactory
focal_class.class_method_signature: CollectorFactory.CollectorFactory(
        CollectorType type,
        TimeUtils time,
        KafkaServer server,
        Properties serverConfiguration,
        Runtime serverRuntime
    )
focal_class.full_signature: public  CollectorFactory(
        CollectorType type,
        TimeUtils time,
        KafkaServer server,
        Properties serverConfiguration,
        Runtime serverRuntime
    )
focal_class.identifier: CollectorFactory
focal_class.modifiers: public
focal_class.parameters: (
        CollectorType type,
        TimeUtils time,
        KafkaServer server,
        Properties serverConfiguration,
        Runtime serverRuntime
    )
focal_class.signature:  CollectorFactory(
        CollectorType type,
        TimeUtils time,
        KafkaServer server,
        Properties serverConfiguration,
        Runtime serverRuntime
    )
focal_class.class_method_signature: CollectorFactory.getCollector()
focal_class.full_signature: public Collector getCollector()
focal_class.identifier: getCollector
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Collector
focal_class.signature: Collector getCollector()
focal_class.class_method_signature: CollectorFactory.getType()
focal_class.full_signature: public CollectorType getType()
focal_class.identifier: getType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CollectorType
focal_class.signature: CollectorType getType()
focal_method.body: public CollectorType getType() {
      return type;
    }
focal_method.class_method_signature: CollectorFactory.getType()
focal_method.full_signature: public CollectorType getType()
focal_method.identifier: getType
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: CollectorType
focal_method.signature: CollectorType getType()