mirror of
https://github.com/revanced/smali.git
synced 2025-05-06 09:24:33 +02:00
Fix how the PsiType is created for a SmaliMethodParam stub
This commit is contained in:
parent
16dde79e58
commit
c623d94ff0
@ -89,8 +89,7 @@ public class SmaliMethodParameter extends SmaliStubBasedPsiElement<SmaliMethodPa
|
||||
SmaliMethodParameterStub stub = getStub();
|
||||
if (stub != null) {
|
||||
String type = stub.getType();
|
||||
PsiElementFactory factory = JavaPsiFacade.getInstance(getProject()).getElementFactory();
|
||||
return factory.createTypeByFQClassName(type, getResolveScope());
|
||||
return JavaPsiFacade.getInstance(getProject()).getParserFacade().createTypeFromText(type, null);
|
||||
}
|
||||
return getTypeElement().getType();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user