6 个仓库
Attach types to class properties, methods, and constructor parameters so type checkers can validate structure without changing runtime behavior.
Distinct from Type Annotations: Distinct from Type Annotations: specifically targets class members rather than general variable or parameter annotations.
Explore 6 awesome GitHub repositories matching programming languages & runtimes · Class Member Annotations. Refine with filters or upvote what's useful.
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
Allows the creation of specialized classes to represent specific metadata configurations.
Doxygen is a source code documentation generator and multi-language API reference tool. It extracts annotated comments from source code to create structured technical manuals and searchable software libraries in formats including HTML, LaTeX, and PDF. The project functions as a static code analysis visualizer, generating call graphs, class diagrams, and inheritance hierarchies to illustrate codebase structure. It also serves as an XML documentation export engine, producing structured metadata that can be transformed via XSLT or third-party tools. Beyond API extraction, the tool provides a Ma
Allows adding custom qualifier labels and static modifiers to class members to describe their properties.
该项目是 TypeScript 语言的综合指南和教育资源。它涵盖了该语言的基本原则,包括其结构化类型系统、静态类型分析以及将类型化源文件转译为 JavaScript 的过程。 该材料详细介绍了如何使用泛型、条件类型和映射类型来建模复杂数据和可重用的类型逻辑。它还解释了如何使用声明文件为外部 JavaScript 库提供类型安全,以及如何通过 JSDoc 注释将类型检查集成到现有的 JavaScript 项目中。 内容范围扩展到面向对象编程模式、DOM 操作和编译器行为配置。它包括关于管理模块互操作性、设置构建管线以及利用编辑器智能以提高开发者生产力的指导。
Details how to define class properties and methods with type annotations and read-only modifiers.
Reflections is a Java classpath scanning library and metadata indexer designed to locate classes, methods, and resources at runtime. It functions as a tool for annotation discovery and type hierarchy analysis, allowing the system to identify elements marked with specific annotations or to resolve super-types and subtypes within the Java virtual machine. The project distinguishes itself through metadata serialization, providing mechanisms to save the scanned index to persistent files or source code. This capability reduces application startup overhead by eliminating the need for repeated, expe
Identifies specific methods, constructors, or fields marked with specific Java annotations.
This is an ECMAScript proposal that adds static type syntax to JavaScript, enabling type checking without a separate transpilation step. The proposal defines a standard for type annotations, interfaces, generics, and type imports and exports that are stripped during execution, allowing code to run natively in existing JavaScript engines while still being validated by external type checkers. The proposal introduces generic type parameters using angle-bracket syntax on functions, classes, and type declarations, which are removed at runtime. It also provides syntax for type annotations on variab
Attaches types to class properties, methods, and constructor parameters for validation.
该项目是一个教学仓库和学习资源,提供了全面的学习笔记、编程指南和可运行的源码示例。它作为 Java SE 和 Java Web 开发的指南,包含一个代码示例库,演示了常见的算法和技术实现。 该仓库专注于语言核心和运行时分析,并提供有关多线程和并发的详细教程。它提供了软件架构和设计模式(如单例模式和策略模式)的实际实现,以及对 Java 虚拟机 (JVM) 和字节码的探索。 该项目涵盖了广泛的能力,包括泛型和注解等语言基础、涉及 HTTP 请求处理和会话管理的 Web 开发基础,以及用于线程生命周期和资源同步的并发原语。它还包括用于安全、数据处理和动态页面生成的实用程序。
Provides examples of creating specialized metadata tags to assign configurable parameters to Java elements.