Skip to content

Resolve description of properties #458

@angelozerr

Description

@angelozerr

When a MicroProfile project is loaded to collect all properties of the project from the classpath, we get the description too:

{
  "projectURI": "qute-record",
  "classpathKind": 2,
  "properties": [
    {
      "type": "java.lang.String",
      "sourceField": "removeUnusedBeans",
      "defaultValue": "all",
      "extensionName": "quarkus-arc",
      "required": false,
      "phase": 1,
      "name": "quarkus.arc.remove-unused-beans",
      "description": "\u003cul\u003e\n\u003cli\u003eIf set to {@code all} (or {@code true}) the container will attempt to remove all unused beans.\u003c/li\u003e\n\u003cli\u003eIf set to {@code none} (or {@code false}) no beans will ever be removed even if they are unused (according to the\ncriteria set out\nbelow)\u003c/li\u003e\n\u003cli\u003eIf set to {@code fwk}, then all unused beans will be removed, except the unused beans whose classes are declared in\nthe\napplication code\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e\nAn unused bean:\n\u003cul\u003e\n\u003cli\u003eis not a built-in bean or interceptor,\u003c/li\u003e\n\u003cli\u003eis not eligible for injection to any injection point,\u003c/li\u003e\n\u003cli\u003eis not excluded by any extension,\u003c/li\u003e\n\u003cli\u003edoes not have a name,\u003c/li\u003e\n\u003cli\u003edoes not declare an observer,\u003c/li\u003e\n\u003cli\u003edoes not declare any producer which is eligible for injection to any injection point,\u003c/li\u003e\n\u003cli\u003eis not directly eligible for injection into any {@link jakarta.enterprise.inject.Instance} injection point\u003c/li\u003e\n\u003c/ul\u003e\n\n@see UnremovableBeanBuildItem",
      "sourceType": "io.quarkus.arc.deployment.ArcConfig"
    },

This description can be big. To avoid that, this description could be not loaded and resolved when we need it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions