- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for unpackState (0.17 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/model/NamedObjectInstantiator.java
_GETFIELD(generatedTypeName, NAME_FIELD, STRING); _ARETURN(); }}); // // Add `Object unpackState() { return name }` // publicMethod("unpackState", RETURN_OBJECT, methodVisitor -> new MethodVisitorScope(methodVisitor) {{ _ALOAD(0); _GETFIELD(generatedTypeName, NAME_FIELD, STRING);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 11.8K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/AttributeContainerCodecs.kt
} private suspend fun WriteContext.writeManaged(value: Managed) { writeSmallInt(value.factoryId) writeClass(value.publicType()) write(value.unpackState()) } private suspend fun ReadContext.readManaged(managedFactories: ManagedFactoryRegistry): Any { val factoryId = readSmallInt() val type = readClass() val state = read()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFilePropertyFactory.java
return true; } @Override public Class<?> publicType() { return Directory.class; } @Override public Object unpackState() { return getAsFile(); } @Override public int getFactoryId() { return ManagedFactories.DirectoryManagedFactory.FACTORY_ID; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 09:53:33 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java
init(getDefaultValue()); } @Override protected ProviderInternal<? extends T> getDefaultValue() { return Providers.notDefined(); } @Override public Object unpackState() { return getProvider(); } @Override public Class<?> publicType() { return Property.class; } @Override public int getFactoryId() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java
return false; } @Override public Class<?> publicType() { return ConfigurableFileCollection.class; } @Override public Object unpackState() { return getFiles(); } @Override public void finalizeValue() { if (valueState.shouldFinalize(this::displayNameForThisCollection, null)) { finalizeNow();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:06:55 UTC 2024 - 30.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java
_LDC(mutablePropertySize == 0 && readOnlyPropertySize == 0); _IRETURN(); }}); // Generate: Object[] unpackState() { state = new Object[<size>]; state[x] = <prop-field>; return state; } publicMethod("unpackState", RETURN_OBJECT, methodVisitor -> new MethodVisitorScope(methodVisitor) {{ _LDC(mutablePropertySize + readOnlyPropertySize);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 100.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
!property.isImmutable() def state = property.unpackState() def copy = managedFactory().fromState(property.publicType(), state) !copy.is(property) !copy.present copy.getOrNull() == null property.set(someValue()) copy.getOrNull() == null def state2 = property.unpackState()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 87.8K bytes - Viewed (0)