- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for extractFromMetadata (0.31 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ClassMetaDataUtil.java
import gradlebuild.docs.model.SimpleClassMetaDataRepository; import org.gradle.api.Action; import java.io.File; import java.util.HashSet; import java.util.Set; class ClassMetaDataUtil { static void extractFromMetadata(File metaData, Set<String> excludedPackagePatterns, Action<ClassMetaData> extractor) { SimpleClassMetaDataRepository<ClassMetaData> repository = new SimpleClassMetaDataRepository<>(); repository.load(metaData);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateDefaultImports.java
public abstract SetProperty<String> getExcludedPackages(); @TaskAction public void generate() throws IOException { final Set<String> packages = new LinkedHashSet<>(); ClassMetaDataUtil.extractFromMetadata(getMetaDataFile().getAsFile().get(), getExcludedPackages().get(), classMetaData -> packages.add(classMetaData.getPackageName()));
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java
@TaskAction public void generate() throws IOException { final Multimap<String, String> simpleNames = LinkedHashMultimap.create(); ClassMetaDataUtil.extractFromMetadata(getMetaDataFile().getAsFile().get(), getExcludedPackages().get(), classMetaData -> simpleNames.put(classMetaData.getSimpleName(), classMetaData.getClassName()));
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.1K bytes - Viewed (0)