Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议枚举文档支持枚举的方法 #83

Open
lins3000 opened this issue Jan 18, 2024 · 1 comment
Open

建议枚举文档支持枚举的方法 #83

lins3000 opened this issue Jan 18, 2024 · 1 comment

Comments

@lins3000
Copy link

lins3000 commented Jan 18, 2024

建议枚举文档支持枚举的方法:
例如目前支持的是枚举的属性:
/**

  • 状态
  • @see com.simples.constant.AreaTypeEnum#type
    */
    private Integer areaType;
    但是这样的话IDEA会标红;

能否支持枚举的方法,例如这样的:
/**

  • 状态
  • @see com.simples.constant.AreaTypeEnum#getType()
    */
    private Integer areaType;
@lkqm
Copy link
Member

lkqm commented Jan 19, 2024

很好的建议,因为检测到是私有方法会标红,引用成getter方法确实是可以解决这个问题,这是一个思路,但是本质是引用的字段,暂时感觉没有特别大的必要去实现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants