- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for addEnumConstant (0.14 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
visitTypeDeclaration(enumDeclaration, repository, MetaType.ENUM, () -> { visitImplementedTypes(enumDeclaration); enumDeclaration.getEntries().forEach(entry -> getCurrentClass().addEnumConstant(entry.getNameAsString())); super.visit(enumDeclaration, repository); }); } @Override
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java
declaredProperties.put(name, property); } return property; } public Map<String, String> getConstants() { return constants; } public void addEnumConstant(String name) { enumConstants.add(new EnumConstantMetaData(name, this)); } public List<EnumConstantMetaData> getEnumConstants() { return enumConstants; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 10.1K bytes - Viewed (0)