- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for SimpleClassMetaDataRepository (0.13 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java
import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.TreeMap; import static org.apache.commons.lang.StringUtils.getLevenshteinDistance; public class SimpleClassMetaDataRepository<T extends Attachable<T>> implements ClassMetaDataRepository<T> { private final Map<String, T> classes = new TreeMap<>(); @SuppressWarnings("unchecked") public void load(File repoFile) { try {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
def extract() { Date start = new Date() //parsing all input files into metadata //and placing them in the repository object SimpleClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData> repository = new SimpleClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData>() int counter = 0
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 4.4K bytes - Viewed (0) -
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<>();
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/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
import spock.lang.Specification import spock.lang.TempDir class SimpleClassMetaDataRepositoryTest extends Specification { @TempDir File tmpDir final SimpleClassMetaDataRepository<TestDomainObject> repository = new SimpleClassMetaDataRepository<TestDomainObject>() def canAddMetaData() { TestDomainObject value = new TestDomainObject('a') when: repository.put('class', value)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 3.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy
import org.gradle.api.tasks.TaskAction import gradlebuild.docs.dsl.links.ClassLinkMetaData import gradlebuild.docs.dsl.links.LinkMetaData import gradlebuild.docs.model.ClassMetaDataRepository import gradlebuild.docs.model.SimpleClassMetaDataRepository import org.w3c.dom.Document import org.w3c.dom.Element /** * Transforms userguide source into docbook, replacing custom XML elements. * * Takes the following as input: * <ul>
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 5.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy
private def transformDocument(Document mainDocbookTemplate) { ClassMetaDataRepository<ClassMetaData> classRepository = new SimpleClassMetaDataRepository<ClassMetaData>() classRepository.load(classMetaDataFile.get().asFile) ClassMetaDataRepository<ClassLinkMetaData> linkRepository = new SimpleClassMetaDataRepository<ClassLinkMetaData>() //for every method found in class meta, create a javadoc link
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 9.8K bytes - Viewed (0)