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 authored and LlamaLad7 committed Nov 24, 2024
1 parent 1c69523 commit 3b77b68
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 3b77b68

Please sign in to comment.