Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.

Add JavaDoc to CID_ constants #19

@dmfs

Description

@dmfs

In order to get some support from the IDE when working with CID_* constants, as a user of this plugin I'd like to have the content of some of the <channel> child elements and attributes in the JavaDoc of the constant.

For instance, given a channel like this:

<channel id="powerIn" typeId="power">
  <label>Consumed Power</label>
  <description>This is the power that the …</description>
</channel>

and a channel type like this:

<channel-type id="power">
    <item-type>Number:Power</item-type>
    <label>Active Power</label>
    <state readOnly="true" pattern="%d %unit%"/>
</channel-type>

The constant could look like this:

/**
 * <h1>Consumed Power (Active Power)</h1>
 * This is the power that the …
 * <p>
 * Type: Number:Power
*/
public static final String CID_POWERIN = "powerIn";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions