use of com.synopsys.integration.detectable.detectables.dart.pubspec.DartPubSpecLockDetectable in project synopsys-detect by blackducksoftware.
the class DetectableFactory method createDartPubSpecLockDetectable.
public DartPubSpecLockDetectable createDartPubSpecLockDetectable(DetectableEnvironment environment) {
PubSpecLockParser pubSpecLockParser = new PubSpecLockParser();
PubSpecYamlNameVersionParser pubSpecYamlNameVersionParser = new PubSpecYamlNameVersionParser();
PubSpecExtractor pubSpecExtractor = new PubSpecExtractor(pubSpecLockParser, pubSpecYamlNameVersionParser);
return new DartPubSpecLockDetectable(environment, fileFinder, pubSpecExtractor);
}
Aggregations