alibaba / alibaba/p3c

类名使用 UpperCamelCase 风格,但以下情形例外:DO / / BO / / DTO / VO / AO / PO / UID 等。这个规则不生效。

Open
#993 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
30.8k
Forks
8k
PR merge metrics
No merged PRs in 30d

Description

![Uploading 20240407-133859.jpg…]()
![Uploading DTO.jpg…]()
## 规约原文
类名使用 UpperCamelCase 风格,但以下情形例外:DO / / BO / / DTO / VO / AO / PO / UID 等。
## 问题描述
PDF文档里面这个说是可以正常使用,但是使用了p3c后还是不能够正常提交代码
## 修改建议
类名使用 UpperCamelCase 风格,但以下情形例外:DO / / BO / / DTO / VO / AO / PO / UID 等。这个规则要生效,并且支持自定义的类类名允许通过代码检查。

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are named. Start by reproducing the class-name inspection described in issue #993 and compare the documented exceptions with p3c's implemented rule; the work is done when the listed exceptions and configured custom class-name suffixes pass code inspection as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.