Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for constructors (0.51 sec)

  1. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/DefaultBeanStateReaderLookup.kt

    import org.gradle.internal.service.scopes.ServiceScope
    import java.util.concurrent.ConcurrentHashMap
    
    
    @ServiceScope(Scope.BuildTree::class)
    class DefaultBeanStateReaderLookup(
        private val constructors: BeanConstructors,
        private val instantiatorFactory: InstantiatorFactory
    ) : BeanStateReaderLookup {
    
        private
        val beanStateReaders = ConcurrentHashMap<Class<*>, BeanStateReader>()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanConstructors.kt

        private
        fun newConstructorForSerialization(beanType: Class<*>, constructor: Constructor<*>): Constructor<out Any> =
            ReflectionFactory.getReflectionFactory().newConstructorForSerialization(beanType, constructor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyReader.kt

    import org.gradle.internal.service.ServiceRegistry
    import org.gradle.internal.state.ModelObject
    import java.lang.reflect.Field
    
    
    class BeanPropertyReader(
        private val beanType: Class<*>,
        private val constructors: BeanConstructors,
        instantiatorFactory: InstantiatorFactory
    ) : BeanStateReader {
        // TODO should use the same scheme as the original bean
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/stored.rules

    classes\ that\ are\ not\ special\ class\ and\ are\ injected\ into\ getters\ via\ @Inject\ or\ are\ injected\ into\ constructors\ via\ @Inject\ should\ be\ annotated\ with\ @ServiceScope=injected-services-should-have-service-scope-applied.txt
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

            factories.add(factory);
          }
        }
        if (!Modifier.isAbstract(type.getRawType().getModifiers())) {
          for (Constructor<?> constructor : type.getRawType().getDeclaredConstructors()) {
            Invokable<T, T> invokable = type.constructor(constructor);
            if (!invokable.isPrivate() && !invokable.isSynthetic()) {
              factories.add(invokable);
            }
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

            factories.add(factory);
          }
        }
        if (!Modifier.isAbstract(type.getRawType().getModifiers())) {
          for (Constructor<?> constructor : type.getRawType().getDeclaredConstructors()) {
            Invokable<T, T> invokable = type.constructor(constructor);
            if (!invokable.isPrivate() && !invokable.isSynthetic()) {
              factories.add(invokable);
            }
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        }
    
        /**
         * Finds constructors with a given [targetClassName] available within the [scope], including SAM constructors
         * (which are not explicitly declared in the class).
         *
         * Includes type-aliased constructors too if typealias confirms to the [targetClassName].
         *
         * Do not confuse with constructors **declared** in the scope (see [FirScope.processDeclaredConstructors]).
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/firUtils.kt

     */
    internal fun FirCallableSymbol<*>.computeImportableName(useSiteSession: FirSession): FqName? {
        if (callableId.isLocal) return null
    
        // SAM constructors are synthetic, but can be imported
        if (origin is FirDeclarationOrigin.SamConstructor) return callableId.asSingleFqName()
    
        // if classId == null, callable is topLevel
        val containingClassId = callableId.classId
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top