10 रिपॉजिटरी
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 एक Java क्लासपाथ स्कैनिंग लाइब्रेरी और मेटाडेटा इंडेक्सर है जिसे रनटाइम पर क्लासेस, मेथड्स और रिसोर्सेज का पता लगाने के लिए डिज़ाइन किया गया है। यह एनोटेशन डिस्कवरी और टाइप पदानुक्रम विश्लेषण के लिए एक टूल के रूप में कार्य करता है, जो सिस्टम को विशिष्ट एनोटेशन के साथ चिह्नित तत्वों की पहचान करने या Java वर्चुअल मशीन के भीतर सुपर-टाइप्स और सबटाइप्स को हल करने की अनुमति देता है। यह प्रोजेक्ट मेटाडेटा सीरियलाइज़ेशन के माध्यम से खुद को अलग करता है, जो स्कैन किए गए इंडेक्स को पर्सिस्टेंट फ़ाइलों या सोर्स कोड में सहेजने के लिए तंत्र प्रदान करता है। यह क्षमता बार-बार, महंगे क्लासपाथ स्कैन की आवश्यकता को समाप्त करके एप्लिकेशन स्टार्टअप ओवरहेड को कम करती है। लाइब्रेरी हस्ताक्षर और एक्सेस मॉडिफायर्स के आधार पर क्लास मेंबर्स की इंडेक्सिंग, नॉन-बाइटकोड रिसोर्स फ़ाइलों की खोज, और टाइप सिस्टम मेटाडेटा को फ़िल्टर और ट्रांसफ़ॉर्म करने के लिए फंक्शनल क्वेरी कंपोज़िशन के उपयोग सहित व्यापक क्षमता क्षेत्रों को कवर करती है। यह बेहतर परफॉरमेंस के लिए स्कैन सीमाओं और समावेशन पैटर्न को परिभाषित करने के लिए कॉन्फ़िगरेशन यूटिलिटीज भी प्रदान करती है।
Organizes extracted annotations using class names as keys for optimized retrieval of annotated elements.
यह प्रोजेक्ट एक निर्देशात्मक रिपॉजिटरी और शिक्षण संसाधन है जो अध्ययन नोट्स, प्रोग्रामिंग गाइड और चलाने योग्य सोर्स कोड उदाहरणों का एक व्यापक संग्रह प्रदान करता है। यह Java SE और Java वेब डेवलपमेंट के लिए एक गाइड के रूप में कार्य करता है, जिसमें कोड नमूनों की एक लाइब्रेरी है जो सामान्य एल्गोरिदम और तकनीकी कार्यान्वयन का प्रदर्शन करती है। यह रिपॉजिटरी भाषा कोर और रनटाइम विश्लेषण पर केंद्रित है, जिसमें मल्टीथ्रेडिंग और कॉन्करेंसी पर विस्तृत ट्यूटोरियल हैं। यह सॉफ्टवेयर आर्किटेक्चर और डिज़ाइन पैटर्न, जैसे कि सिंगलटन और स्ट्रैटेजी पैटर्न के व्यावहारिक कार्यान्वयन प्रदान करता है, साथ ही Java Virtual Machine और बाइटकोड की खोज भी करता है। यह प्रोजेक्ट जेनेरिक्स और एनोटेशन जैसी भाषा की बुनियादी बातों, HTTP अनुरोध हैंडलिंग और सत्र प्रबंधन से जुड़े वेब डेवलपमेंट बेसिक्स, और थ्रेड लाइफसाइकिल और संसाधन सिंक्रनाइज़ेशन के लिए कॉन्करेंसी प्रिमिटिव्स सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है। इसमें सुरक्षा, डेटा प्रसंस्करण और डायनामिक पेज निर्माण के लिए उपयोगिताएँ भी शामिल हैं।
Implements runtime processing of class and method metadata tags using Java reflection.
KotlinPoet, Kotlin सोर्स फ़ाइलों को प्रोग्रामेटिक रूप से बनाने और फ़ॉर्मेट करने के लिए एक Java-आधारित API है। यह एक सोर्स कोड जनरेटर और टाइप सिस्टम मैपर के रूप में कार्य करता है, जो बॉयलरप्लेट के उत्पादन को स्वचालित करने के लिए भाषा तत्वों के टाइप-सेफ मॉडल के माध्यम से Kotlin कोड संरचनाएं बनाने के लिए एक फ्रेमवर्क प्रदान करता है। यह प्रोजेक्ट भाषा तत्वों को क्रमिक रूप से बनाने के लिए एक फ्लुएंट-बिल्डर पैटर्न का उपयोग करता है और एक आंतरिक ऑब्जेक्ट-मॉडल प्रतिनिधित्व बनाए रखता है जो तार्किक संरचना को अंतिम टेक्स्ट फ़ॉर्मेटिंग से अलग करता है। यह इंडेंटेशन-आधारित फ़ॉर्मेटिंग और कीवर्ड-अवेयर नेम एस्केपिंग के माध्यम से सोर्स उत्सर्जन की जटिलताओं को संभालता है ताकि वैध आउटपुट सुनिश्चित हो सके। यह लाइब्रेरी क्लास, इंटरफ़ेस, फ़ंक्शन, प्रॉपर्टी और कंपेनियन ऑब्जेक्ट सहित घोषणाओं की एक विस्तृत श्रृंखला के निर्माण को कवर करती है। इसमें जटिल पैरामीटराइज़्ड टाइप, एनम क्लास और टाइप एलियास के प्रबंधन के लिए उपयोगिताएँ, साथ ही लिटरल एम्बेड करने और कंट्रोल फ़्लो ब्लॉक बनाने के लिए टूल शामिल हैं। स्वचालित इम्पोर्ट प्रबंधन और घोषणा संदर्भ को योग्य नामों द्वारा सदस्यों को हल करने के लिए एकीकृत किया गया है। KotlinPoet रिफ्लेक्शन डेटा और सिंबल को सोर्स प्रतिनिधित्व में बदलने की क्षमताएं प्रदान करता है और एनोटेशन प्रोसेसिंग टूलिंग में उपयोग के लिए फ़ाइल विनिर्देशों को निर्यात करने का समर्थन करता है।
Extracts language semantics and runtime information from metadata annotations attached to classes or type elements.
This project is a framework for developing and orchestrating autonomous software agents within JVM-based applications. It provides a toolkit for embedding artificial intelligence directly into business logic, enabling agents to perform complex tasks through dynamic, goal-oriented planning rather than rigid state machines. By leveraging declarative annotations, the framework allows developers to define agent capabilities and integrate them into existing object-oriented domain models. The framework distinguishes itself through a vendor-neutral abstraction layer that allows for the seamless swap
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 is a Java validation framework designed to enforce data integrity through declarative constraints and automated service-layer checks. It provides a structured environment for defining validation logic that integrates with the JSR 303 specification, allowing developers to maintain consistent data quality across complex object hierarchies and application boundaries. The framework distinguishes itself through a fluent interface that enables the orchestration of validation chains, allowing for readable and maintainable rule sequences. It supports advanced execution control, inclu
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.