16 个仓库
Tools for runtime introspection and dynamic type manipulation.
Explore 16 awesome GitHub repositories matching part of an awesome list · Runtime Reflection. Refine with filters or upvote what's useful.
Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly typed objects. It provides a relational database mapper for performing CRUD operations across MySQL, PostgreSQL, and SQLite, and includes a programmatic dynamic query builder for constructing complex SQL statements. The project distinguishes itself by providing a GraphQL schema generator that transforms database entities into typed schemas with built-in pagination and filters. It also features a dedicated database migration tool for defining and applying versioned schema chan
Gets and sets model attributes dynamically at runtime to handle flexible data formats like JSON.
Fx is a dependency injection framework and application lifecycle manager for Go. It functions as a component model container that automates the instantiation and connection of components by analyzing constructor parameters and return values to resolve complex dependency graphs. The framework distinguishes itself through module-based component bundling, which encapsulates related constructors into reusable units to manage visibility and logic. It provides advanced resolution capabilities, including mapping concrete types to interfaces for decoupling, resolving dependency ambiguities via unique
Uses runtime type analysis to match requested dependencies with available providers.
Haxe is a statically typed, multi-target programming language and open-source compiler toolkit that translates a single codebase into native executables and scripts for JavaScript, C++, C#, Java, Python, Lua, PHP, and Flash targets. It provides a unified type system with automatic type inference, a compile-time macro system for code transformation and generation, conditional compilation directives, and a static analysis engine that enforces null safety and eliminates dead code to produce smaller, safer outputs. The language is supported by the HashLink virtual machine, which executes platform
Provides runtime type introspection and dynamic value manipulation through a cross-platform reflection API.
Harmony is a library for modifying, replacing, and decorating compiled .NET and Mono methods during execution without altering binary files on disk. It functions as a runtime method patching tool, a CIL instruction manipulator, and a reflection extension for C#. The project provides mechanisms to intercept method execution, allowing custom code to run before or after original methods while maintaining the existing program flow. It enables the analysis and rewriting of Common Intermediate Language instructions to change the internal logic of compiled methods. The toolkit also includes utiliti
Provides low-level reflection tools to bypass access modifiers and interact with private members.
Object-reflector 是一个 Python 对象反射库和动态属性访问工具。它作为一个对象属性提取器,旨在运行时从对象的内部状态和继承层次结构中检索值。 该库提供了访问和提取私有、受保护及继承对象属性的能力,无论属性的可见性如何,都能对其进行检查。 该项目涵盖了软件调试工作流、自动化测试工具以及通用的 Python 运行时反射等领域,无需修改源代码即可分析对象属性。
Enables runtime introspection and dynamic retrieval of protected or inherited class properties.
c3c is the compiler for the C3 programming language, transforming source code into executable binaries, static libraries, or dynamic libraries using an LLVM backend. It implements a system based on result-based error handling, scoped memory pooling, and a semantic macro system. The compiler provides first-class support for hardware-backed SIMD vectors that map directly to processor instructions and enables runtime polymorphism through interface-based dynamic dispatch. The project covers a broad set of low-level capabilities, including manual and pooled memory management, inline assembly inte
Provides access to basic type information during program execution.
Autofac is a dependency injection framework and inversion of control container for .NET. It functions as a component registration engine that decouples class implementations from their dependencies by injecting required services via constructors or properties. The project includes an assembly scanning library to automatically discover and register components within compiled binaries based on specific type criteria. It provides a service lifetime manager to control object memory duration using singletons, instance-per-dependency, or isolated request scopes. The framework covers a broad range
Uses runtime type inspection to automatically identify and inject required services into constructor parameters.
dig is a reflection-based dependency injection framework and object graph resolver for Go. It functions as a container that automatically satisfies type dependencies and manages the instantiation of complex networks of objects during application startup. The project utilizes a directed acyclic graph to determine the necessary sequence for object instantiation and employs interface-driven provider mapping to decouple concrete implementations from their satisfied interfaces. It resolves the object hierarchy through reflection-based type resolution and single-pass component wiring to ensure all
Uses runtime type analysis and Go reflection to match dependency requests with available providers.
MvvmCross 是一个 .NET MVVM 框架,旨在通过将业务逻辑与原生用户界面分离来构建跨平台应用。它充当导航引擎和 UI 数据绑定库,能够将逻辑封装在可在不同操作系统间复用的视图模型(View Models)中。 该框架提供了原生硬件抽象层和依赖注入容器,用于解耦组件并为访问设备功能提供统一接口。它协调原生屏幕之间的类型安全转换,并通过属性更改通知管理共享逻辑类与原生 UI 组件之间的数据同步。 该项目涵盖了广泛的功能,包括应用生命周期管理、URI 深度链接和控制反转(IoC)服务注册。它还包含用于国际化、通过弱引用事件聚合器进行发布-订阅消息传递的工具,以及针对传感器、地理位置和生物识别认证的硬件集成功能。
Implements dependency resolution by using runtime type analysis to match requests with providers in the IoC container.
A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties.
Viewing type info and dynamic property access.
Inject is a dependency injection library for Go that manages object lifecycles and wires application components by automating the provision of dependencies. It functions as a reflection-based container that maps specific values to their corresponding types, enabling the automatic retrieval and injection of objects into application logic. The library distinguishes itself through its ability to perform automatic function invocation, where it inspects function signatures at runtime to resolve and provide required arguments from a central registry. It also supports struct field injection, which p
Matches concrete implementations to requested interface types using runtime reflection.
Reflection based (Dictionary, CKRecord, NSManagedObject, Realm, JSON and XML) object mapping with extensions for Alamofire and Moya with RxSwift or ReactiveSwift
Reflection-based JSON encoding and decoding.
DEPRECATED
Advanced runtime reflection and dynamic type construction.
Auto reflection tool from JSON to Model, user friendly JSON encoder / decoder, aims to never die
Auto-reflection from JSON to models.
Reflection, Dict2Model, Model2Dict, Archive
Reflection and dictionary-to-model mapping.
Key-Value Coding (KVC) for native Swift classes and structs
Key-Value Coding for native Swift types.