Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

            for (MethodMetaData method : classMetaData.getDeclaredMethods()) {
                addMethod(method, style);
            }
            for (EnumConstantMetaData enumConstant : classMetaData.getEnumConstants()) {
                addEnumConstant(enumConstant, style);
            }
        }
    
        public LinkMetaData getClassLink() {
            return new LinkMetaData(style, simpleName, null);
        }
    
        public String getPackageName() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  2. 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)
  3. 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