Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addEnumConstant (0.14 sec)

  1. 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)
  2. 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)
Back to top