Skip to content

Commit

Permalink
Allow @Desc to match field instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolykt committed Nov 5, 2024
1 parent c516fb7 commit 0cfc040
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public <TNode> MatchResult match(ElementNode<TNode> node) {
if (node == null || this.disabled) {
return MatchResult.NONE;
} else if (node.isField()) {
return this.matches(node.getOwner(), node.getName(), node.getDesc(), this.returnType.getInternalName());
return this.matches(node.getOwner(), node.getName(), node.getDesc(), this.returnType.getDescriptor());
} else {
return this.matches(node.getOwner(), node.getName(), node.getDesc(), this.methodDesc);
}
Expand Down

0 comments on commit 0cfc040

Please sign in to comment.