10 Repos
Attaching metadata to language constructs for use by external tools or runtime reflection.
Distinct from Statement and Expression Attribute Annotations: Candidates focus on build-time transformations or document metadata; this is a language-level attribute system.
Explore 10 awesome GitHub repositories matching programming languages & runtimes · Class and Method Annotations. Refine with filters or upvote what's useful.
Wren is an embeddable, class-based scripting language and bytecode interpreter. It provides a dependency-free virtual machine designed for integrating dynamic script execution into host applications via a C API. The language is centered on a modern object-oriented model featuring inheritance, method overloading, and first-class functions. It utilizes a concurrent fiber runtime to manage lightweight, cooperatively scheduled execution paths without relying on operating system threads. The project includes a comprehensive suite of object-oriented primitives, closure-based state capture, and a m
Attaches user-defined attributes to classes and methods for runtime retrieval or external tool use.
This project is a PHP docblock annotation parser and reflection metadata tool designed to extract structured metadata from doc-comments and convert them into class instances. It functions as a system for retrieving and managing custom metadata attached to classes, methods, and properties. The library includes a metadata caching system to store parsed results, which reduces the performance overhead associated with repeated reflection calls and string parsing. It also serves as a static analysis utility for validating source code structure and enforcing coding standards through automated docblo
The project extracts structured metadata from doc-blocks using a specific syntax to configure classes and functions.
Doctrine Common is a set of shared libraries that provide foundational capabilities for parsing PHP docblock annotations, managing event-driven communication, and handling typed object collections. At its core, it includes a docblock annotation parser that reads structured metadata from PHP docblock comments, enabling configuration for object-relational mapping and validation rules. It also offers a typed collection abstraction with lazy-loading support, allowing efficient management of object groups through array-like operations. The library extends these capabilities with an event managemen
Reads class metadata from docblock annotations to configure object-relational mapping or validation rules.
Reflections ist eine Java-Classpath-Scanning-Bibliothek und ein Metadaten-Indexer, der dazu dient, Klassen, Methoden und Ressourcen zur Laufzeit zu lokalisieren. Es fungiert als Tool zur Annotation-Erkennung und Typ-Hierarchie-Analyse, wodurch das System Elemente identifizieren kann, die mit bestimmten Annotationen markiert sind, oder Supertypen und Subtypen innerhalb der Java Virtual Machine auflösen kann. Das Projekt zeichnet sich durch Metadaten-Serialisierung aus und bietet Mechanismen, um den gescannten Index in persistenten Dateien oder Quellcode zu speichern. Diese Funktion reduziert den Overhead beim Anwendungsstart, da wiederholte, aufwendige Classpath-Scans entfallen. Die Bibliothek deckt breite Funktionsbereiche ab, einschließlich der Indizierung von Klassenmitgliedern basierend auf Signaturen und Zugriffsmodifikatoren, der Entdeckung von Nicht-Bytecode-Ressourcendateien und der Verwendung funktionaler Abfragekomposition zum Filtern und Transformieren von Metadaten des Typsystems. Sie bietet zudem Konfigurationsdienstprogramme zur Definition von Scan-Grenzen und Einschlussmustern für eine verbesserte Leistung.
Organizes extracted annotations using class names as keys for optimized retrieval of annotated elements.
Dieses Projekt ist ein instruktives Repository und eine Lernressource, die eine umfassende Sammlung von Studiennotizen, Programmierleitfäden und ausführbaren Codebeispielen bietet. Es dient als Leitfaden für Java SE- und Java-Webentwicklung und enthält eine Bibliothek mit Code-Samples, die gängige Algorithmen und technische Implementierungen demonstrieren. Das Repository konzentriert sich auf die Analyse des Sprachkerns und der Laufzeitumgebung, mit detaillierten Tutorials zu Multithreading und Concurrency. Es bietet praktische Implementierungen von Softwarearchitekturen und Entwurfsmustern, wie etwa Singleton- oder Strategie-Pattern, sowie Einblicke in die Java Virtual Machine und Bytecode. Das Projekt deckt ein breites Spektrum an Fähigkeiten ab, darunter Sprachgrundlagen wie Generics und Annotations, Grundlagen der Webentwicklung wie HTTP-Request-Handling und Session-Management sowie Concurrency-Primitive für Thread-Lebenszyklen und Ressourcen-Synchronisation. Zudem sind Hilfsprogramme für Sicherheit, Datenverarbeitung und dynamische Seitengenerierung enthalten.
Implements runtime processing of class and method metadata tags using Java reflection.
KotlinPoet is a Java-based API for programmatically creating and formatting Kotlin source files. It serves as a source code generator and type system mapper, providing a framework to build Kotlin code structures through a type-safe model of language elements to automate the production of boilerplate. The project utilizes a fluent-builder pattern to incrementally construct language elements and maintains an internal object-model representation that separates logical structure from final text formatting. It handles the complexities of source emission through indentation-based formatting and key
Extracts language semantics and runtime information from metadata annotations attached to classes or type elements.
Dieses Projekt ist ein Framework für die Entwicklung und Orchestrierung autonomer Software-Agenten innerhalb JVM-basierter Anwendungen. Es bietet ein Toolkit für die Einbettung künstlicher Intelligenz direkt in die Geschäftslogik, was es Agenten ermöglicht, komplexe Aufgaben durch dynamische, zielorientierte Planung anstelle starrer Zustandsautomaten auszuführen. Durch die Nutzung deklarativer Annotationen ermöglicht das Framework Entwicklern, Agenten-Fähigkeiten zu definieren und in bestehende objektorientierte Domänenmodelle zu integrieren. Das Framework zeichnet sich durch eine herstellerneutrale Abstraktionsschicht aus, die den nahtlosen Austausch lokaler und Cloud-basierter Sprachmodelle zur Laufzeit ermöglicht. Es unterstützt verteilte Zusammenarbeit, wodurch unabhängige Agenten Informationen teilen und Aufgaben über verschiedene Dienste hinweg delegieren können. Um die Transparenz bei autonomen Entscheidungen zu gewährleisten, enthält das System eine umfassende Instrumentierung, die Ausführungs-Traces, Leistungsmetriken und Operations-Logs erfasst, welche an externe Monitoring-Plattformen exportiert werden können. Über die Kern-Orchestrierung hinaus enthält die Plattform eine Suite an Tools für die Verwaltung von Agenten-Lebenszyklen, einschließlich automatisierter Skill-Erkennung, Validierung und Environment-Bootstrapping. Sie bietet ein terminalbasiertes Interface für interaktiven Chat und Aufgabenausführung, neben Sicherheitsprimitiven, die Zugriffsgrenzen für Dateisystemoperationen durchsetzen. Das Framework unterhält zudem ein zentralisiertes Speicher-Repository, um einen gemeinsamen Kontext über verteilte Agentenprozesse hinweg bereitzustellen.
Uses code annotations to map standard application classes and methods into executable agent capabilities.
Metadata is a PHP library for loading and managing class, method, and property metadata from inline annotations, YAML, XML, and PHP configuration files. It acts as an object-relational mapping support tool, helping persistence layers and serializers inspect PHP object structures through unified metadata drivers. The library parses configuration data using specialized drivers to populate internal metadata structures, abstracting disparate data sources into a single consistent interface for inspecting classes and properties. It supports chain-based driver fallback, allowing multiple metadata lo
Reads annotations and configuration files to extract structural metadata for PHP classes and properties.
Fluent-validator ist ein Java-Validierungs-Framework zur Durchsetzung von Datenintegrität durch deklarative Constraints und automatisierte Service-Layer-Prüfungen. Es bietet eine strukturierte Umgebung zur Definition von Validierungslogik, die sich in die JSR 303-Spezifikation integriert, was es Entwicklern ermöglicht, eine konsistente Datenqualität über komplexe Objekt-Hierarchien und Anwendungsgrenzen hinweg zu wahren. Das Framework zeichnet sich durch ein flüssiges Interface aus, das die Orchestrierung von Validierungsketten ermöglicht, was zu lesbaren und wartbaren Regelsequenzen führt. Es unterstützt fortgeschrittene Ausführungskontrolle, einschließlich der Fähigkeit, zwischen Fail-Fast- und Fail-Over-Strategien zu wechseln, und nutzt Proxy-basierte Interception, um Methodenargumente innerhalb verwalteter Container automatisch zu verifizieren. Über die Standard-Constraint-Integration hinaus erleichtert die Bibliothek tiefe Datenintegrität durch rekursive Objektgraph-Traversierung und kaskadierte Validierung. Sie kommt dynamischen Geschäftsanforderungen entgegen, indem sie bedingte Logik, Validierungsgruppen für kontextbewusste Regelauflösung und die Injektion externer Eigenschaften in den Validierungsumfang unterstützt. Entwickler können zudem benutzerdefinierte Validierungsklassen implementieren, um einzigartige Datenanforderungen neben Standard-Annotationen zu handhaben.
Uses Java annotations on class fields and method parameters to trigger automated validation checks via reflection.
This project is a Java command dispatch framework that maps user input to application logic using annotation-based processing. It provides a unified interface for registering and executing commands, allowing developers to define command syntax, parameter requirements, and execution logic through standard method annotations. The framework distinguishes itself through its cross-platform command handler, which abstracts platform-specific input and registration systems into a single codebase. This allows for consistent command processing across diverse environments, including server proxies, chat
Reads method parameter names and types from bytecode to automatically generate help documentation.