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