Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for objects (0.19 sec)

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

    import java.util.regex.Pattern
    
    abstract class AbstractSuperClassChangesRule extends AbstractGradleViolationRule {
    
        private final List<Pattern> publicApiPatterns
    
        AbstractSuperClassChangesRule(Map<String, Object> params) {
            super(params)
            final List<String> publicApiPatterns = (List<String>)params['publicApiPatterns'];
            this.publicApiPatterns = publicApiPatterns.collect { Pattern.compile(it) }
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

            def destDir = destinationDirectory.get().asFile
            fs.delete {
                delete(destDir, temporaryDir)
            }
    
            def xslClasspath = classpath.plus(objects.fileCollection().from(ClasspathUtil.getClasspathForClass(XslTransformer)))
    
            fs.copy {
                from(getStylesheetDirectory()) {
                    include "**/*.xml"
                    include "*.xsl"
                }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            expect:
            type.rawType.signature == 'org.gradle.SomeType'
        }
    
        def rawTypeForWildcardType() {
            type.setWildcard()
    
            expect:
            type.rawType.signature == 'java.lang.Object'
        }
    
        def rawTypeForWildcardWithUpperBound() {
            type.setUpperBounds(new TypeMetaData('OtherType'))
    
            expect:
            type.rawType.signature == 'OtherType'
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

    import japicmp.model.JApiMethod
    import me.champeau.gradle.japicmp.report.Violation
    
    @CompileStatic
    class KotlinModifiersBreakingChangeRule extends AbstractGradleViolationRule {
    
        KotlinModifiersBreakingChangeRule(Map<String, Object> params) {
            super(params)
        }
    
        @Override
        Violation maybeViolation(JApiCompatibility member) {
    
            if (isNewOrRemoved(member) || !(member instanceof JApiMethod)) {
                return null
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

            return element
        }
    
        protected Element createNode(Object name, Object value) {
            return createNode(name, [:], value)
        }
    
        protected void setParent(Object parent, Object child) {
            parent.appendChild(child)
        }
    
        def appendChild(Node node) {
            if (!current) {
                elements << (Element) document.importNode(node, true)
            } else  {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithConstants.groovy

    package org.gradle.test
    
    class GroovyClassWithConstants {
        static final int INT_CONST = 9
        public static final String STRING_CONST = 'some-string'
        static final Object OBJECT_CONST = new GroovyClassWithConstants()
        static final def BIG_DECIMAL_CONST = 1.02
    
        String ignored = 'ignore'
        final int ignored2 = 1001
        static def ignored3
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 356 bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManager.groovy

            jsonFile.withWriter { fileWriter ->
                def writer = new JsonWriter(fileWriter)
                writer.setIndent("    ")
                new Gson().toJson([acceptedApiChanges: []], Object, writer)
                writer.close()
            }
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

            0 * visitor._
        }
    
        def javadocTagCanContainEOLChars() {
            when:
            lexer.pushText(" * {@link #Something(Object,\n * String\n * }")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartJavadocTag('link')
            1 * visitor.onText('#Something(Object,\nString\n')
            1 * visitor.onEndJavadocTag('link')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

    import javassist.CtClass
    import me.champeau.gradle.japicmp.report.Violation
    
    class IncubatingInternalInterfaceAddedRule extends AbstractSuperClassChangesRule {
    
        IncubatingInternalInterfaceAddedRule(Map<String, Object> params) {
            super(params)
        }
    
        protected boolean changed(JApiCompatibility member) {
            return member.getChangeStatus() == JApiChangeStatus.MODIFIED
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

            }
            return null
        }
    
        private static List<Boolean> parametersNullabilityOf(CtBehavior behavior) {
            def annotations = behavior.parameterAnnotations as List<Object[]>
            annotations.collect { Object[] pAnn ->
                pAnn.flatten().any { isNullableCtAnnotation(it) }
            }
        }
    
        private static boolean hasNullableAnnotation(CtField field) {
    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)
Back to top