Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for propertyNames (0.15 sec)

  1. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

        /**
         * 操作の対象に含めるプロパティ名を追加します。
         *
         * @param propertyNames
         *            プロパティ名の並び。{@literal null}や空配列であってはいけません
         * @return このインスタンス自身
         */
        public CopyOptions include(final CharSequence... propertyNames) {
            assertArgumentNotEmpty("propertyNames", propertyNames);
    
            includePropertyNames.addAll(toStringList(propertyNames));
            return this;
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

        def "deviant bean properties are considered as such by Java"() {
            expect:
            def propertyNames = Introspector.getBeanInfo(DeviantBean).propertyDescriptors.collect { it.name }
            propertyNames.contains("tingStarted")
            propertyNames.contains("ccCompiler")
            propertyNames.contains("idore")
            propertyNames.contains("tings")
        }
    
        def "deviant bean properties are considered as such by Groovy"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         *
         * @param propertyNames
         *            プロパティ名の配列。{@literal null}や空配列であってはいけません
         * @return 操作の対象に含めるプロパティ名を指定した{@link CopyOptions}
         * @see CopyOptions#include(CharSequence...)
         */
        public static CopyOptions include(final CharSequence... propertyNames) {
            return new CopyOptions().include(propertyNames);
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

            expect:
            def details = ClassInspector.inspect(PropNames)
    
            details.propertyNames == ['class', 'metaClass', 'a', 'b', 'URL', 'url', '_A'] as Set
        }
    
        def "extracts properties of a Groovy interface"() {
            expect:
            def details = ClassInspector.inspect(SomeInterface)
    
            details.propertyNames == ['prop', 'readOnly', 'writeOnly'] as Set
    
            def prop = details.getProperty('prop')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

    import static JavaPropertyReflectionUtil.propertyNames
    import static JavaPropertyReflectionUtil.readableProperty
    import static JavaPropertyReflectionUtil.writeableProperty
    
    class JavaPropertyReflectionUtilTest extends Specification {
        JavaTestSubject myProperties = new JavaTestSubject()
    
        def "property names"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

         */
        public Set<String> getPropertyNames() {
            Set<String> propertyNames = new TreeSet<String>();
            propertyNames.addAll(declaredProperties.keySet());
            ClassMetaData superClass = getSuperClass();
            if (superClass != null) {
                propertyNames.addAll(superClass.getPropertyNames());
            }
            return propertyNames;
        }
    
        private PropertyMetaData getProperty(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

        val propertyNames =
            if (hasIsGetterName) listOf(method.name)
            else {
                val prefixRemoved = method.name.drop(3)
                if (hasSetterName && isBoolean) listOf("is$prefixRemoved", prefixRemoved.decapitalize())
                else listOf(prefixRemoved.decapitalize())
            }
    
        val propertyQualifiedNames =
            propertyNames.map { "$qualifiedBaseName.$it" }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 20:38:19 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    fun Project.gradleProperty(propertyName: String) = providers.gradleProperty(propertyName)
    
    
    fun Project.systemProperty(propertyName: String) = providers.systemProperty(propertyName)
    
    
    fun Project.environmentVariable(propertyName: String) = providers.environmentVariable(propertyName)
    
    
    fun Project.propertyFromAnySource(propertyName: String) = gradleProperty(propertyName)
        .orElse(systemProperty(propertyName))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

            this._source = source;
            this._convention = convention;
            this._propertyNames = JavaPropertyReflectionUtil.propertyNames(source);
            this._ineligiblePropertyNames = new HashSet<>();
        }
    
        private MappedProperty map(String propertyName, MappedPropertyImpl mapping) {
            if (!_propertyNames.contains(propertyName)) {
                throw new InvalidUserDataException(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            (1.._) * onAccess.accept('other', 'otherValue')
            0 * onAccess._
    
            where:
            methodName                                | operation
            "propertyNames()"                         | call(p -> p.propertyNames())
            "keys()"                                  | call(p -> p.keys())
            "elements()"                              | call(p -> p.elements())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
Back to top