Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for unpackType (0.15 sec)

  1. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/StreamCodecs.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.serialize.codecs.stdlib
    
    import org.gradle.api.internal.GeneratedSubclasses.unpackType
    import org.gradle.internal.serialize.graph.logUnsupportedBaseType
    import org.gradle.internal.configuration.problems.StructuredMessageBuilder
    import org.gradle.internal.serialize.graph.Codec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Unsupported.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.serialize.graph
    
    import org.gradle.api.internal.GeneratedSubclasses.unpackType
    import org.gradle.internal.configuration.problems.DocumentationSection
    import org.gradle.internal.configuration.problems.StructuredMessageBuilder
    
    
    inline fun <reified T : Any> unsupported(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskReferenceCodec.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.serialize.codecs.core
    
    import org.gradle.api.Task
    import org.gradle.api.internal.GeneratedSubclasses.unpackType
    import org.gradle.api.internal.tasks.TaskContainerInternal
    import org.gradle.internal.cc.base.serialize.IsolateOwners
    import org.gradle.internal.serialize.graph.logUnsupportedBaseType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Logging.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.serialize.graph
    
    import org.gradle.api.internal.GeneratedSubclasses.unpackType
    import org.gradle.internal.configuration.problems.DocumentationSection
    import org.gradle.internal.configuration.problems.DocumentationSection.NotYetImplemented
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultPluginContainer.java

                    @Override
                    public boolean apply(Plugin plugin) {
                        Class<?> pluginType = GeneratedSubclasses.unpackType(plugin);
                        return pluginWithId.clazz.equals(pluginType);
                    }
                }).orNull();
    
                if (plugin != null) {
                    return plugin;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 30 13:07:05 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/plugins/DslObject.java

                return uncheckedCast(((HasPublicType) object).getPublicType());
            }
            return TypeOf.<Object>typeOf(GeneratedSubclasses.unpackType(object));
        }
    
        public Class<?> getImplementationType() {
            return GeneratedSubclasses.unpackType(object);
        }
    
        private static <T> T toType(Object delegate, Class<T> type) {
            if (type.isInstance(delegate)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/api/internal/GeneratedSubclasses.java

                } catch (Exception e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
            return type;
        }
    
        public static Class<?> unpackType(Object object) {
            if (object instanceof GeneratedSubclass) {
                return ((GeneratedSubclass) object).publicType();
            }
            return object.getClass();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/NotImplementedCodec.kt

    import org.gradle.internal.serialize.graph.logNotImplemented
    
    
    object NotImplementedCodec : Codec<Any> {
    
        override suspend fun WriteContext.encode(value: Any) {
            val javaClass = GeneratedSubclasses.unpackType(value)
            writeClass(javaClass)
            logNotImplemented(javaClass)
        }
    
        override suspend fun ReadContext.decode(): Any? {
            logNotImplemented(readClass())
            return null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/BeanCodec.kt

    
    object BeanCodec : Codec<Any> {
    
        override suspend fun WriteContext.encode(value: Any) {
            encodePreservingIdentityOf(value) {
                val beanType = GeneratedSubclasses.unpackType(value)
                withBeanTrace(beanType) {
                    writeBeanOf(beanType, value)
                }
            }
        }
    
        override suspend fun ReadContext.decode(): Any =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/BeanPropertyExtensions.kt

                onError(error) {
                    when {
                        value != null -> {
                            text("error writing value of type ")
                            reference(GeneratedSubclasses.unpackType(value))
                        }
    
                        else -> {
                            text("error writing null value")
                        }
                    }
                }
            }
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top