This is an edge case, but I still manage to hit that.
AiServiceProcessor tries to implement the methods of the interface that @RegisterAiService is added two.
The list of interfaces however, may contain methods with the same signature.
An example case is when having interfaces redefine parent methods.
Either-way, we should guard against this case, as it leads to ClassForatError in the generated class.
This is an edge case, but I still manage to hit that.
AiServiceProcessor
tries to implement the methods of the interface that@RegisterAiService
is added two. The list of interfaces however, may contain methods with the same signature. An example case is when having interfaces redefine parent methods.Either-way, we should guard against this case, as it leads to
ClassForatError
in the generated class.