[YANGTOOLS-174] Generated source files for enum types do not include description comments Created: 29/May/14  Updated: 10/Apr/22  Due: 14/Jul/14  Resolved: 22/Jul/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Rob Adams Assignee: Ladislav Borak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 1101

 Description   

This:
leaf inclusion-rule {
description "Specify how inheritance will work for this label";
default include;

type enumeration {
enum include

{ description "This label will be included normally in the matching."; }

enum exclude

{ description "This label will be excluded from the matching. This allows removing labels that would have otherwise been included because of inheritence rules."; }

}
}

becomes this:
public enum InclusionRule {
Include(0),
Exclude(1);
<SNIP>
}

This should have a javadoc comment on both the class as well as on each of the enum values.



 Comments   
Comment by Ladislav Borak [ 10/Jul/14 ]

proposed patch: https://git.opendaylight.org/gerrit/#/c/8592/

Generated at Wed Feb 07 20:52:28 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.