- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getEnumConstant (0.06 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)