Skip to content

Commit

Permalink
Use Type.flatName to compute binding key
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelistria committed Jun 14, 2024
1 parent 208c218 commit 4c6a3af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ static void getKey(StringBuilder builder, Type typeToBuild, boolean isLeaf) {
builder.append('L');
}
}
builder.append(typeToBuild.asElement().getQualifiedName().toString().replace('.', '/'));
builder.append(typeToBuild.asElement().flatName().toString().replace('.', '/'));
if (typeToBuild.isParameterized()) {
builder.append('<');
for (var typeArgument : typeToBuild.getTypeArguments()) {
Expand Down

0 comments on commit 4c6a3af

Please sign in to comment.