Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for fields (0.25 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return isAnnotatedWithIncubating(method) || isAnnotatedWithIncubating(method.jApiClass) || isOverride(method)
        }
    
        private static boolean isIncubatingField(JApiField field) {
            return isAnnotatedWithIncubating(field) || isAnnotatedWithIncubating(field.jApiClass)
        }
    
        private static boolean isIncubatingConstructor(JApiConstructor constructor) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         * normal property on the renderer instance and just set the location of the API file in it.
         *
         * Instead, we'll encode the path to the file in the description data field, as a link.  This is
         * useful regardless of this renderer's needs, since now there will be a link embedded in the report
         * to quickly open the changes file.  By then we can also regex that path out of the description
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                    public interface $TEST_INTERFACE_SIMPLE_NAME {
                        String field = "value";
                        void method();
                    }
                """
                : """
                    public class $TEST_INTERFACE_SIMPLE_NAME {
                        public String field = "value";
                        public void method() { }
                        public $TEST_INTERFACE_SIMPLE_NAME() { }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    }
                }
            }
    
            if (member instanceof JApiField) {
    
                JApiField field = (JApiField) member
                CtField oldField = field.oldFieldOptional.get()
                CtField newField = field.newFieldOptional.get()
    
                def oldNullability = hasNullableAnnotation(oldField)
                def newNullability = hasNullableAnnotation(newField)
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.SourceTask
    import org.gradle.api.tasks.TaskAction
    
    /**
     * Extracts meta-data from the Groovy and Java source files which make up the Gradle API. Persists the meta-data to a file
     * for later use in generating documentation for the DSL, such as by {@link gradlebuild.docs.dsl.docbook.AssembleDslDocTask}.
     */
    @CacheableTask
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. .github/workflows/CheckBadMerge.groovy

                List<String> badFiles = MONITORED_FILES.grep { isBadFileInMergeCommit(it, commit, parentCommits[0], parentCommits[1]) }
                if (!badFiles.isEmpty()) {
                    throw new RuntimeException("Found bad files in merge commit $commit: $badFiles")
                } else {
                    println("No bad files found in $commit")
                }
            } else {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                    documentationRoot = project.layout.projectDirectory.dir('docsRoot')
                    javadocRoot = documentationRoot.dir('javadoc')
                }
            """
        }
    
        def "finds broken section links"() {
            given:
            sampleDoc << """
    === Dead Section Links
    This section doesn't exist: <<missing_section>>
    Also see this one, which is another dead link: <<other_missing_section>>
            """
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy

     *
     * <p>
     * Reports simple superclass changes (e.g. the removal of a superclass) as a breaking change, as it affects what methods can be
     * called with the given type, even if the methods and fields inherited don't change.
     * </p>
     */
    class BinaryBreakingSuperclassChangeRule extends AbstractSuperClassChangesRule {
    
        BinaryBreakingSuperclassChangeRule(Map<String, Object> params) {
            super(params)
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 1.8K bytes
    - Viewed (0)
Back to top