forked from square/anvil
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[square#150] Use guessed class only for non-ambiguous results
- fall back to manual resultion when class is potentially from the sentence case package
- Loading branch information
1 parent
151d3a4
commit 9649d92
Showing
3 changed files
with
111 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...t/java/com/squareup/anvil/compiler/dagger/UppercasePackage/TestClassInUppercasePackage.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@file:Suppress("PackageName") | ||
|
||
package com.squareup.anvil.compiler.dagger.UppercasePackage | ||
|
||
// These classes are used in unit tests. Don't rename or move them! | ||
class TestClassInUppercasePackage | ||
|
||
@Suppress("ClassName") | ||
class lowerCaseClassInUppercasePackage | ||
|
||
class OuterClass { | ||
class InnerClass | ||
} |