- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 937 for CONSTRUCTOR (0.37 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/AccessModifierDefaultServiceRegistryTest.groovy
exception.message.contains("Expected a single non-private constructor, or one constructor annotated with @Inject for") } def "can add a type to registry that has an annotated package private constructor and a private constructor"() { when: def registry = new DefaultServiceRegistry() registry.register {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 4K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
return method.isVarArgs(); } } static class ConstructorInvokable<T> extends Invokable<T, T> { final Constructor<?> constructor; ConstructorInvokable(Constructor<?> constructor) { super(constructor); this.constructor = constructor; } @Override final Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[] args)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/InjectUtil.java
final Constructor<?>[] constructors = type.getDeclaredConstructors(); if (constructors.length == 1) { Constructor<?> constructor = constructors[0]; if (isPublicOrPackageScoped(constructor)) { // If there is a single constructor, and that constructor is public or package private we select it. return constructor; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 4K bytes - Viewed (0) -
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) -
maven-di/src/main/java/org/apache/maven/di/impl/Binding.java
public static <R> Binding<R> to(Key<R> originalKey, TupleConstructorN<R> constructor, Class<?>[] types) { return Binding.to( originalKey, constructor, Stream.of(types).map(Key::of).toArray(Key<?>[]::new)); } public static <R> Binding<R> to(Key<R> originalKey, TupleConstructorN<R> constructor, Key<?>[] dependencies) { return to(originalKey, constructor, dependencies, 0); } public static <R> Binding<R> to(
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java
* @param constructor * コンストラクタ。{@literal null}であってはいけません */ public ConstructorDescImpl(final BeanDesc beanDesc, final Constructor<?> constructor) { assertArgumentNotNull("beanDesc", beanDesc); assertArgumentNotNull("constructor", constructor); this.beanDesc = beanDesc; this.constructor = constructor;
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/DirectInstantiatorCacheTest.groovy
@Shared def cache = new DirectInstantiator.ConstructorCache() @Unroll("constructor cache returns the same constructors as 'getConstructors' for #clazz") def "constructor cache returns the same constructors as 'getConstructors'"() { given: def constructor = null int i = 0 while (!constructor && ++i<50) { // need a loop because IBM JDK is much more proactive in cleaning weak references
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy
def "creates instance that has default constructor"() { when: def result = instantiator.newInstance(HasDefaultConstructor) then: result instanceof HasDefaultConstructor } def "injects provided parameters into constructor"() { when: def result = instantiator.newInstance(HasInjectConstructor, "string", 12)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 04:41:06 UTC 2024 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
.reverse(); private static final Ordering<Constructor<?>> WITH_STRING_PARAM_THEN_WITH_THROWABLE_PARAM = ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST.onResultOf( constructor -> asList(constructor.getParameterTypes())); @CheckForNull private static <X> X newFromConstructor(Constructor<X> constructor, Throwable cause) { Class<?>[] paramTypes = constructor.getParameterTypes();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 10.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/DirectInstantiatorTest.groovy
def "creates instance with constructor parameters"() { CharSequence param = Mock() expect: def result = instantiator.newInstance(SomeType, param) result instanceof SomeType result.result == param } def "creates instance with subtypes of constructor parameters"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5.7K bytes - Viewed (0)