ancient-vegetable-10556
11/08/2021, 5:07 PMancient-vegetable-10556
11/08/2021, 5:07 PMDuplicateElementErrorTest.java
) that has an inline class extends AbstractModule
, and AbstractModule
has a method which takes Matcher<T>
as a parameter.
javac
is failing to compile DuplicateElementErrorTest
because there’s no class file for Matcher
availableancient-vegetable-10556
11/08/2021, 5:08 PMMatcher
is generic means the class file needs to be present during compilation in order for the compiler for AbstractModule
to verify type boundsancient-vegetable-10556
11/08/2021, 5:09 PMwitty-crayon-22786
11/08/2021, 5:11 PMwitty-crayon-22786
11/08/2021, 5:12 PMMatcher
should be “exported” by files that use itwitty-crayon-22786
11/08/2021, 5:13 PMwitty-crayon-22786
11/08/2021, 5:13 PMexports
a dep, it is available to consumers of the target, even when they only depend on the targetwitty-crayon-22786
11/08/2021, 5:14 PMexport
Matcher
in this case when we see it in the implements $X
or extends $X
positionancient-vegetable-10556
11/08/2021, 5:15 PMwitty-crayon-22786
11/08/2021, 5:15 PMancient-vegetable-10556
11/08/2021, 5:15 PMpublic void foo(Matcher<T> matcher) {}
` which needs the definition of Matcher
to be available to figure out the type boundsancient-vegetable-10556
11/08/2021, 5:16 PMwitty-crayon-22786
11/08/2021, 5:17 PMancient-vegetable-10556
11/08/2021, 5:17 PMancient-vegetable-10556
11/08/2021, 5:18 PMancient-vegetable-10556
11/08/2021, 5:18 PMfast-nail-55400
11/08/2021, 5:20 PMancient-vegetable-10556
11/08/2021, 5:21 PMfast-nail-55400
11/08/2021, 5:22 PMjava-dump-first-party-dep-map
debug goal will dump the dep inf mapping.ancient-vegetable-10556
11/08/2021, 5:22 PMfast-nail-55400
11/08/2021, 5:22 PMfast-nail-55400
11/08/2021, 6:01 PMancient-vegetable-10556
11/08/2021, 7:25 PMfast-nail-55400
11/08/2021, 7:27 PMMatcher
ancient-vegetable-10556
11/08/2021, 7:27 PMfast-nail-55400
11/08/2021, 7:27 PMwitty-crayon-22786
11/08/2021, 7:27 PMtype_map
when i use it, rather than a consumed mapancient-vegetable-10556
11/08/2021, 7:27 PMfast-nail-55400
11/08/2021, 7:28 PMto_json_dict
method thenancient-vegetable-10556
11/08/2021, 7:29 PMfast-nail-55400
11/08/2021, 7:29 PMwitty-crayon-22786
11/08/2021, 7:29 PMwitty-crayon-22786
11/08/2021, 7:29 PMancient-vegetable-10556
11/08/2021, 7:29 PMPackageRootedDependencyMap
only tracks the `type_……… yeah thatfast-nail-55400
11/08/2021, 7:29 PMfast-nail-55400
11/08/2021, 7:30 PMMultiGet
the JavaSourceDependencyAnalysis
for the targets and then output the .consumed_unqualified_types
fieldwitty-crayon-22786
11/08/2021, 7:31 PMfast-nail-55400
11/08/2021, 7:32 PMwitty-crayon-22786
11/08/2021, 7:33 PMfast-nail-55400
11/08/2021, 7:33 PMguice
to use third-party dep inference instead, but I haven’t had the time to do that (and probably won’t since scala dep inf is the priority for me)witty-crayon-22786
11/08/2021, 7:33 PMwitty-crayon-22786
11/08/2021, 7:34 PMhazelcast
.ancient-vegetable-10556
11/08/2021, 7:35 PM