- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 146 for Constructor (0.21 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
return true } val aConstructor = a.constructor val bConstructor = b.constructor if (aConstructor is IntersectionTypeConstructor) { return aConstructor.supertypes.all { areTypesCompatible(it, b) } } if (bConstructor is IntersectionTypeConstructor) { return bConstructor.supertypes.all { areTypesCompatible(a, it) } }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Jan 29 09:37:59 GMT 2024 - 23.3K bytes - Viewed (0) -
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); } } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
public final void publicFinalMethod() {} void notAnnotatedMethod() {} static Invokable<A, A> constructor() throws Exception { Constructor<A> constructor = A.class.getDeclaredConstructor(Object.class); Invokable<A, A> invokable = Invokable.from(constructor); assertEquals(constructor.getName(), invokable.getName()); assertEquals(A.class, invokable.getDeclaringClass()); return invokable; }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
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(); Object[] params = new Object[paramTypes.length]; for (int i = 0; i < paramTypes.length; i++) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 10.3K bytes - Viewed (0) -
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) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0) -
android/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)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 18.6K bytes - Viewed (0) -
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); } } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
public final void publicFinalMethod() {} void notAnnotatedMethod() {} static Invokable<A, A> constructor() throws Exception { Constructor<A> constructor = A.class.getDeclaredConstructor(Object.class); Invokable<A, A> invokable = Invokable.from(constructor); assertEquals(constructor.getName(), invokable.getName()); assertEquals(A.class, invokable.getDeclaringClass()); return invokable; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30.8K bytes - Viewed (0) -
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) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 22.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
return arbitraryConstantInstanceOrNull(type); } final Constructor<T> constructor; try { constructor = type.getConstructor(); } catch (NoSuchMethodException e) { return arbitraryConstantInstanceOrNull(type); } constructor.setAccessible(true); // accessibility check is too slow try { return constructor.newInstance();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 21K bytes - Viewed (1)