Commit 23c05bb5 authored by Ahmed Ashour's avatar Ahmed Ashour Committed by skylot

fix: search in resource classes by original name, not by alias (#562) (PR #571)

parent fe41174b
......@@ -156,7 +156,7 @@ public class ConstStorage {
String typeName = parts[0];
String fieldName = parts[1];
for (ClassNode innerClass : appResClass.getInnerClasses()) {
if (innerClass.getShortName().equals(typeName)) {
if (innerClass.getClassInfo().getShortName().equals(typeName)) {
return innerClass.searchFieldByName(fieldName);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment