- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getEnumConstant (0.24 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java
} signature.append(")"); methodSignature = signature.toString(); } if (targetClass.isEnum() && targetClass.getEnumConstant(methodSignature) != null) { return linkRenderer.link(targetClass.getEnumConstant(methodSignature), listener); } MethodMetaData method = findMethod(methodSignature, targetClass); if (method == null) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy
_ * nameResolver.resolve('SomeName', classMetaData) >> 'org.gradle.SomeName' _ * repository.find('org.gradle.SomeName') >> enumClass _ * enumClass.enum >> true _ * enumClass.getEnumConstant("SOME_ENUM_VALUE") >> enumConstant _ * linkRenderer.link(enumConstant, listener) >> parse('<someLinkElement/>') } def convertsValueLinkToLiteralValue() { ClassMetaData otherClass = Mock()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java
enumConstants.add(new EnumConstantMetaData(name, this)); } public List<EnumConstantMetaData> getEnumConstants() { return enumConstants; } public EnumConstantMetaData getEnumConstant(String name) { for (EnumConstantMetaData enumConstant : enumConstants) { if (enumConstant.getName().equals(name)) { return enumConstant; } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 10.1K bytes - Viewed (0)