Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 370 for ElementType (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/collections/DefaultDomainObjectCollectionFactory.java

            // Do not decorate the elements, for backwards compatibility
            return container(elementType, instantiatorFactory.injectLenient(servicesToInject));
        }
    
        @Override
        public <T> NamedDomainObjectContainer<T> newNamedDomainObjectContainer(Class<T> elementType) {
            return container(elementType, instantiatorFactory.decorateLenient(servicesToInject));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 10 22:34:19 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/annotations/TestAnnotationHandlingSupport.groovy

    @Target([ElementType.METHOD, ElementType.FIELD])
    @interface Short {
    }
    
    @Retention(RetentionPolicy.RUNTIME)
    @Target([ElementType.METHOD, ElementType.FIELD])
    @interface Tint {
        String value()
    }
    
    @Retention(RetentionPolicy.RUNTIME)
    @Target([ElementType.METHOD, ElementType.FIELD])
    @interface Ignored {
    }
    
    @Retention(RetentionPolicy.RUNTIME)
    @Target([ElementType.METHOD, ElementType.FIELD])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSetNodeInitializerExtractionStrategy.java

            private final ModelType<T> elementType;
    
            public ModelSetModelViewFactory(ModelType<T> elementType) {
                this.elementType = elementType;
            }
    
            @Override
            public ModelView<ModelSet<T>> toView(MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor, boolean mutable) {
                ModelType<ModelSet<T>> setType = ModelTypes.modelSet(elementType);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty_javaAnnotation_targets.kt

    // FILE: JavaAnno.java
    
    import java.lang.annotation.Target;
    import java.lang.annotation.ElementType;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    
    @Target({FIELD, METHOD})
    public @interface JavaAnno() {
        ElementType[] types();
    }
    
    // FILE: test.kt
    
    import java.lang.annotation.ElementType.FIELD
    
    class Test {
        @JavaAnno(FIELD)
        val f<caret>oo = ""
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 17 11:58:14 UTC 2022
    - 422 bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ParameterKind.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    public class ParameterKind {
        @Retention(RetentionPolicy.CLASS)
        @Target(ElementType.PARAMETER)
        public @interface Receiver {
        }
    
        @Retention(RetentionPolicy.CLASS)
        @Target(ElementType.PARAMETER)
        public @interface CallerClassName {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/CallableKind.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    public final class CallableKind {
        @Target(ElementType.METHOD)
        @Retention(RetentionPolicy.CLASS)
        public @interface AfterConstructor {
        }
    
        @Target(ElementType.METHOD)
        @Retention(RetentionPolicy.CLASS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/junitplatform-tagging/kotlin/src/main/java/org/gradle/junitplatform/Fast.java

    package org.gradle.junitplatform;
    
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    import org.junit.jupiter.api.Tag;
    
    @Target({ ElementType.TYPE, ElementType.METHOD })
    @Retention(RetentionPolicy.RUNTIME)
    @Tag("fast")
    public @interface Fast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 358 bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/collections/DomainObjectCollectionFactory.java

         */
        <T> DomainObjectSet<T> newDomainObjectSet(Class<T> elementType);
    
        <T> NamedDomainObjectSet<T> newNamedDomainObjectSet(Class<T> elementType);
    
        <T> NamedDomainObjectList<T> newNamedDomainObjectList(Class<T> elementType);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/annotations/GwtIncompatible.java

     * {@code @GwtIncompatible} annotation in GWT itself</a>.
     *
     * @author Charles Fry
     */
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD})
    @Documented
    @GwtCompatible
    public @interface GwtIncompatible {
      /**
       * Describes why the annotated element is incompatible with GWT. Since this is generally due to a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 16:29:08 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultPropertyFactory.java

        }
    
        @Override
        public <T> DefaultListProperty<T> listProperty(Class<T> elementType) {
            return new DefaultListProperty<>(propertyHost, elementType);
        }
    
        @Override
        public <T> DefaultSetProperty<T> setProperty(Class<T> elementType) {
            return new DefaultSetProperty<>(propertyHost, elementType);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top