- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for InstanceOptionDescriptor (0.44 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy
reader = new OptionReader() builtInOptionCount = TaskOptionsGenerator.BUILT_IN_OPTIONS.size(); } def "can read options linked to setter methods of a task"() { when: List<InstanceOptionDescriptor> options = TaskOptionsGenerator.generate(new TestClassWithSetters(), reader).getAll() then: options[0].name == "aFlag" options[0].description == "simple flag"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 10 12:45:01 UTC 2023 - 33.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/OptionReader.java
JavaMethod<Object, Collection> optionValueMethod = cachedOptionValueMethods.get(optionElement); options.put(optionElement.getOptionName(), new InstanceOptionDescriptor(target, optionElement, optionValueMethod)); } return options; } private void loadClassDescriptorInCache(Object target) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 06 09:51:34 UTC 2023 - 10K bytes - Viewed (0)