Until now, generic arguments wouldn't have stubs generated, meaning that you could not inject an interface with a type parameter that references your own classes. This fixes that. For this to be fixed, an exception from the "verbatim copy" rule had to be added: inner classes must use $. This change does not however break any existing *working* builds.
7 lines
264 B
JSON
7 lines
264 B
JSON
{
|
|
"com/MyTarget": [
|
|
"com/InjectedInterface<java.util.Map$Entry<? extends com.example.WeirdSupplier<T>, com.example.Classes$Generics<T, java.lang.Integer, com.example.WeirdSupplier<?>>>>",
|
|
"com/CustomInterface<com.example.TypeParameter$InnerClass>"
|
|
]
|
|
}
|