Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for extends (0.29 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model
    
    import spock.lang.Specification
    
    class TypeMetaDataTest extends Specification {
        final TypeMetaData type = new TypeMetaData('org.gradle.SomeType')
    
        def rawTypeForSimpleType() {
            expect:
            type.rawType.signature == 'org.gradle.SomeType'
        }
    
    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)
  2. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithImports.groovy

    package org.gradle.test
    
    import org.gradle.test.sub.*;
    
    class GroovyClassWithImports extends SubGroovyClass implements SubJavaInterface, GroovyInterface {
        void close() {
        }
    }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 228 bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(libraryElements))
        }
        isCanBeResolved = true
        isCanBeConsumed = false
        isVisible = false
        if (extends != null) {
            extendsFrom(extends)
        }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/resources/org/gradle/test/JavaClass.java

    package org.gradle.test;
    
    /**
     * This is a java class.
     */
    public class JavaClass extends A implements CombinedInterface, JavaInterface {
        /**
         * A read-only property.
         */
        public String getReadOnly() {
            return "value";
        }
    
        /**
         * An ignored field.
         */
        String ignoreMe1;
    
        /**
         * Another ignored field.
         */
        final long ignoreMe2 = 9;
    
        /**
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

    import japicmp.model.JApiField;
    import japicmp.model.JApiHasAnnotations;
    import japicmp.model.JApiMethod;
    import me.champeau.gradle.japicmp.report.Violation;
    
    import java.util.Map;
    
    public class NewIncubatingAPIRule extends AbstractGradleViolationRule {
    
        public NewIncubatingAPIRule(Map<String, Object> params) {
            super(params);
        }
    
        @Override
        public Violation maybeViolation(final JApiCompatibility member) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

     * <li>A meta-data file containing information about where the canonical documentation for each class can be found:
     * as dsl doc, javadoc or groovydoc.</li>
     * </ul>
     */
    @CacheableTask
    abstract class AssembleDslDocTask extends DefaultTask {
        @PathSensitive(PathSensitivity.NONE)
        @InputFile
        abstract RegularFileProperty getSourceFile();
    
        @PathSensitive(PathSensitivity.NONE)
        @InputFile
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy

     * limitations under the License.
     */
    package gradlebuild.docs
    
    import org.gradle.util.internal.TextUtil
    import spock.lang.Specification
    
    class UserGuideTransformTaskTest extends Specification {
    
        def replacesTabsWith4Spaces() {
            given:
            String content = "test\ttest\ttest"
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
            then:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Tue Jul 27 19:28:51 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

    import groovy.transform.CompileStatic
    import japicmp.model.JApiCompatibility
    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) {
    
    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)
  9. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

    import org.codehaus.groovy.ast.expr.VariableExpression;
    import org.codenarc.rule.AbstractAstVisitor;
    import org.codenarc.util.AstUtil;
    
    public class IntegrationTestFixtureVisitor extends AbstractAstVisitor {
    
        /**
         * Determines if the class is an integration test. It's a bit weak, but we cannot
         * rely on the class node analysis since it doesn't give the right superclass because
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.TreeMap;
    
    import static org.apache.commons.lang.StringUtils.getLevenshteinDistance;
    
    public class SimpleClassMetaDataRepository<T extends Attachable<T>> implements ClassMetaDataRepository<T> {
        private final Map<String, T> classes = new TreeMap<>();
    
        @SuppressWarnings("unchecked")
        public void load(File repoFile) {
            try {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
Back to top