luckybilly / luckybilly/AutoRegister

为什么scanInterface要设置成必须参数

Open
#31 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Groovy
Stars
1.1k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

有一种场景,我只想扫描scanSuperClasses的子类,而不需要扫描scanInterface的实现类,这种场景下我不设置scanInterface就会报错
我觉得合理的应该是scanInterface和scanSuperClasses设置其一就可以了吧,不需要限制必须设置scanInterface吧

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the configuration validation for scanInterface and scanSuperClasses, then reproduce the reported error when only scanSuperClasses is set. Check how scanning behaves for superclass subclasses versus interface implementations; done means either setting is accepted independently and the selected scan targets still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, groovy
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.