src/main/java/com/github/burningwave/core/classes/hunter/Hunter.java
public R findBy(ClassFileScanConfiguration scanConfig, SearchCriteria criteria) {
		scanConfig = scanConfig.createCopy();
		criteria = criteria.createCopy();
		C context = createContext(scanConfig, criteria);
		criteria.init(this.classHelper, context.pathMemoryClassLoader, this.memberFinder, this.pathHelper);		
		scanConfig.init();
		fileSystemHelper.scan(
			scanConfig.toScanConfiguration(context, this)
		);
		Collection<String> skippedClassesNames = context.getSkippedClassNames();
		if (!skippedClassesNames.isEmpty()) {
			logWarn("Skipped classes count: {}", skippedClassesNames.size());
		}
		return resultSupplier.apply(context);
	}
public R findBy(ClassFileScanConfiguration scanConfig, SearchCriteria criteria) {
		scanConfig = scanConfig.createCopy();
		criteria = criteria.createCopy();
		C context = createContext(scanConfig, criteria);
		criteria.init(this.classHelper, context.pathMemoryClassLoader, this.memberFinder, this.pathHelper);		
		scanConfig.init();
		fileSystemHelper.scan(
			scanConfig.toScanConfiguration(context, this)
		);
		Collection<String> skippedClassesNames = context.getSkippedClassNames();
		if (!skippedClassesNames.isEmpty()) {
			logWarn("Skipped classes count: {}", skippedClassesNames.size());
		}
		return resultSupplier.apply(context);
	}
public R findBy ( ClassFileScanConfiguration scanConfig , SearchCriteria criteria ) { scanConfig = scanConfig . createCopy ( ) ; criteria = criteria . createCopy ( ) ; C context = createContext ( scanConfig , criteria ) ; criteria . init ( this . classHelper , context . pathMemoryClassLoader , this . memberFinder , this . pathHelper ) ; scanConfig . init ( ) ; fileSystemHelper . scan ( scanConfig . toScanConfiguration ( context , this ) ) ; Collection < String > skippedClassesNames = context . getSkippedClassNames ( ) ; if ( ! skippedClassesNames . isEmpty ( ) ) { logWarn ( "Skipped classes count: {}" , skippedClassesNames . size ( ) ) ; } return resultSupplier . apply ( context ) ; }
Not cached search
Not cached search