- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for clazz2 (0.16 sec)
-
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/JavaRecordCodec.kt
val clazz = readClass() val fields = clazz.relevantFields val args = readFields(fields) val types = fields.map { it.type }.toTypedArray() return try { clazz.getConstructor(*types).newInstance(*args.toTypedArray()) } catch (ex: Exception) { throw IllegalStateException("Failed to create instance of ${clazz.name} with args $args", ex) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
.distinct() .forEach(key -> { Class<?> clazz = key.getRawType(); Class<Object> itf = (clazz.isInterface() ? null : (Class<Object>) (clazz.getInterfaces().length > 0 ? clazz.getInterfaces()[0] : clazz)); if (itf != null) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 8.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
throw new IllegalStateException(); } values.remove(0); } public <T> void seed(Class<T> clazz, Provider<T> value) { getScopeState().seed(clazz, value); } public <T> void seed(Class<T> clazz, final T value) { seed(clazz, (Provider<T>) () -> value); } public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 7.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java
if (stack.isEmpty()) { values.remove(); } } public <T> void seed(Class<T> clazz, Provider<T> value) { getScopeState().seeded.put(Key.get(clazz), value); } public <T> void seed(Class<T> clazz, final T value) { getScopeState().seeded.put(Key.get(clazz), Providers.of(value)); } public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/CachedEnvironmentStateCodec.kt
val cleared = readBoolean() val updates = readList { val clazz = readClass() val key = read() as Any val value = read() when (clazz) { ConfigurationCacheEnvironmentChangeTracker.SystemPropertyMutate::class.java ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SystemClassLoaderTest.groovy
try { def clazz = systemLoader.loadClass(nonLauncherOrCoreClass) assert clazz == null : "ClassNotFoundException should have been thrown trying to load a “\${nonLauncherOrCoreClass}” class from the system classloader as its not a launcher or core class (loaded class: \$clazz)" } catch (ClassNotFoundException e) { // expected
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
// Force Finalizer to load from this class loader, not its parent. if (name.equals(Finalizer.class.getName())) { Class<?> clazz = findClass(name); if (resolve) { resolveClass(clazz); } return clazz; } return super.loadClass(name, resolve); } } public void testGetFinalizerUrl() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.8K bytes - Viewed (0)