Package com.iohao.net.framework.core.doc


package com.iohao.net.framework.core.doc
Provides documentation metadata and code-generation support used to produce client-facing API artifacts from ionet action definitions.

See Code Generation for examples targeting Unity, Godot, CocosCreator, Laya, Vue, and other clients.

Author:
渔民小镇
date:
2024-08-05
  • Class
    Description
    Action command document, stores source code information.
    Utility for scanning Java source files and building a map of JavaClassDocInfo from the Javadoc comments found in @ActionController classes.
    Documentation model for a single @ActionController, grouping all ActionCommandDoc entries that share the same primary command ID.
    Aggregated documentation model for a single ActionDoc, containing the generated member-constant documents and method-level documents used for client SDK code generation.
    Document model for a route member constant generated from an action method, carrying the command pair, a generated member name, and the Javadoc comment.
    Documentation model for a single action method, capturing parameter types, return types, comments, and type-mapping information used for client SDK code generation.
    Documentation model for a single broadcast (server-push) route, describing the command info, data type, method name, and associated metadata used for client SDK code generation.
    Builder for constructing BroadcastDocument instances that describe server-push routes, their data types, and method metadata.
    Document-related information, such as action-related, broadcast-related, and error code-related details.
    Document access permission generation
    Utility for analysing action documents, error code enums, and Java source files to produce structured documentation models.
    Interface for connecting to the document generation service, allowing for different implementations to be extended.
    Central helper for collecting action documentation, broadcast documents, error codes, and triggering document generation.
    Generates the document action method name.
    Documentation model for a single error code entry, carrying the enum constant name, numeric value, and human-readable description.
    Wrapper around a QDox JavaClass that indexes its methods by signature and provides factory methods for creating ActionCommandDoc from reflection Method objects.
    DocumentGenerate implementation that produces a plain-text documentation file containing action routes, broadcast routes, and error codes.
    Strategy interface for mapping Java/protobuf types to their client-side type names used during document and SDK code generation.
    Record describing how a Java/protobuf type maps to client-side type names, SDK method names, and result accessor names used during code generation.