Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for hasArguments (0.17 sec)

  1. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/annotations/KaAnnotationImpl.kt

        override val useSiteTarget: AnnotationUseSiteTarget?
            get() = withValidityAssertion { backingUseSiteTarget }
    
        private val backingHasArguments: Boolean = hasArguments
    
        override val hasArguments: Boolean
            get() = withValidityAssertion { backingHasArguments }
    
        private val backingArguments: List<KaNamedAnnotationValue> by lazyArguments
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationApplication.kt

         * then you can avoid [KaAnnotated.annotationsByClassId] call,
         * because effectively you already have all necessary information in [KaAnnotationApplicationInfo]
         */
        public val hasArguments: Boolean
    
        @Deprecated("Use 'hasArguments' instead.", replaceWith = ReplaceWith("hasArguments"))
        public val isCallWithArguments: Boolean
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/AbstractPropertiesCommandLineConverterTest.groovy

            def option = Mock(CommandLineOption);
            setup:
                parser.option(_,_) >> option
                option.hasArguments() >> option
                option.hasDescription(_) >> option
            when:
                converter.configure(parser)
            then:
                1 * option.hasArguments() >> option
                1 * option.hasDescription(converter.propertyOptionDescription) >> option
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/cli/src/main/java/org/gradle/cli/AbstractPropertiesCommandLineConverter.java

        @Override
        public void configure(CommandLineParser parser) {
            CommandLineOption option = parser.option(getPropertyOption(), getPropertyOptionDetailed());
            option = option.hasArguments();
            option.hasDescription(getPropertyOptionDescription());
        }
    
        @Override
        public Map<String, String> convert(ParsedCommandLine options, Map<String, String> properties) throws CommandLineArgumentException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineOption.java

            return options;
        }
    
        public CommandLineOption hasArgument(Class<?> argumentType) {
            this.argumentType = argumentType;
            return this;
        }
    
        public CommandLineOption hasArgument() {
            this.argumentType = String.class;
            return this;
        }
    
        public CommandLineOption hasArguments() {
            argumentType = List.class;
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/ListBuildOption.java

            for (CommandLineOptionConfiguration config : commandLineOptionConfigurations) {
                configureCommandLineOption(parser, config.getAllOptions(), config.getDescription(), config.isDeprecated(), config.isIncubating()).hasArguments();
            }
        }
    
        @Override
        public void applyFromCommandLine(ParsedCommandLine options, T settings) {
            for (CommandLineOptionConfiguration config : commandLineOptionConfigurations) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirUtils.kt

        val classId = toAnnotationClassId(builder.rootSession)
    
        return KaAnnotationImpl(
            classId = classId,
            psi = psi as? KtCallElement,
            useSiteTarget = useSiteTarget,
            hasArguments = this is FirAnnotationCall && this.arguments.isNotEmpty(),
            lazyArguments = lazy { argumentsFactory(classId) },
            index = index,
            constructorSymbol = constructorSymbol,
            token = builder.token,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/buildCache/integration-tests/groovy/build.gradle

        @InputDirectory
        @PathSensitive(PathSensitivity.RELATIVE)  // <2>
        abstract DirectoryProperty getDistribution()
    
        @Override
        Iterable<String> asArguments() {
            ["-Ddistribution.location=${distribution.get().asFile.absolutePath}"]  // <3>
        }
    }
    
    tasks.named('integTest') {
        jvmArgumentProviders.add(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/buildCache/integration-tests/kotlin/build.gradle.kts

    abstract class DistributionLocationProvider : CommandLineArgumentProvider {  // <1>
        @get:InputDirectory
        @get:PathSensitive(PathSensitivity.RELATIVE)  // <2>
        abstract val distribution: DirectoryProperty
    
        override fun asArguments(): Iterable<String> =
            listOf("-Ddistribution.location=${distribution.get().asFile.absolutePath}")  // <3>
    }
    
    tasks.integTest {
        jvmArgumentProviders.add(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/base/customExternalTask/groovy/task/build.gradle

    class AddOpensArgProvider implements CommandLineArgumentProvider {
        private final Test test;
        public AddOpensArgProvider(Test test) {
            this.test = test;
        }
        @Override
        Iterable<String> asArguments() {
            return test.javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)
                ? ["--add-opens=java.base/java.lang=ALL-UNNAMED"]
                : []
        }
    }
    tasks.withType(Test).configureEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top