Collection<MethodSensorTypeConfig> methodSensorTypeConfigs = new ArrayList<>(); for (IMethodSensorConfig methodSensorConfig : environment.getMethodSensorConfigs()) { methodSensorTypeConfigs.add(getMethodSensorTypeConfig(platformId, methodSensorConfig)); specialMethodSensorTypeConfigs.add(getMethodSensorTypeConfig(platformId, ClassLoadingDelegationSensorConfig.INSTANCE)); specialMethodSensorTypeConfigs.add(getMethodSensorTypeConfig(platformId, MBeanServerInterceptorSensorConfig.INSTANCE)); specialMethodSensorTypeConfigs.add(getMethodSensorTypeConfig(platformId, EUMInstrumentationSensorConfig.INSTANCE)); specialMethodSensorTypeConfigs.add(getMethodSensorTypeConfig(platformId, ExecutorIntercepterSensorConfig.INSTANCE)); specialMethodSensorTypeConfigs.add(getMethodSensorTypeConfig(platformId, CloseableHttpAsyncClientSensorConfig.INSTANCE));