- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 767 for CONSTRUCTOR (0.2 sec)
-
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)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 18.6K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolveException.java
} /** * The actual constructor called by concrete resolve exception implementations. Should not be * called except from Gradle internal code. * * <p>This constructor accepts a dummy parameter since we cannot call the constructor without it, * as that emits a deprecation warning. In 9.0, we can change the above constructor to protected * and remove this constructor.</p> * * @since 8.9 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:56:27 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/Jsr330ConstructorSelector.java
} public static class CachedConstructor { private final ClassGenerator.GeneratedConstructor<?> constructor; private final RuntimeException error; private CachedConstructor(ClassGenerator.GeneratedConstructor<?> constructor, RuntimeException error) { this.constructor = constructor; this.error = error; } public ClassGenerator.GeneratedConstructor<?> getConstructor() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 07:52:37 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ParamsMatchingConstructorSelector.java
// sorted by the number of parameters the constructor requires for (ClassGenerator.GeneratedConstructor<?> constructor : constructors) { Class<?>[] parameterTypes = constructor.getParameterTypes(); // The candidate constructor has fewer parameters than the number of // parameters we were given. This can't be the constructor if (parameterTypes.length < params.length) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MethodDescription.java
.takes(method.getGenericParameterTypes()); } public static MethodDescription of(Constructor<?> constructor) { return name("<init>") .owner(constructor.getDeclaringClass()) .takes(constructor.getGenericParameterTypes()); } private String typeName(Type type) { if (type == null) { return null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/IdentityClassGenerator.java
@Override public List<GeneratedConstructor<T>> getConstructors() { List<GeneratedConstructor<T>> constructors = new ArrayList<GeneratedConstructor<T>>(); for (final Constructor<?> constructor : type.getDeclaredConstructors()) { constructors.add(new GeneratedConstructor<T>() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultRuleSourceValidationProblemCollector.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
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 Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/taskConstructorArgs-onTaskContainer/groovy/build.gradle
// tag::inject-task-constructor[] abstract class CustomTask extends DefaultTask { private final String message private final int number @Inject CustomTask(String message, int number) { this.message = message this.number = number } // end::inject-task-constructor[] @TaskAction void printIt() { println("$message $number") } // tag::inject-task-constructor[] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 559 bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheException.kt
/** * State might be corrupted and should be discarded. */ @Contextual class ConfigurationCacheError internal constructor( error: String, cause: Throwable? = null ) : ConfigurationCacheThrowable, Exception(error, cause) @Contextual sealed class ConfigurationCacheException protected constructor( message: () -> String, causes: Iterable<Throwable>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.4K bytes - Viewed (0)