Move getterName/setterName to JvmAbi
Reuse in RuntimeTypeMapper in reflection
This commit is contained in:
@@ -290,7 +290,8 @@ public class LightClassUtil {
|
||||
new Function1<PsiMethod, Boolean>() {
|
||||
@Override
|
||||
public Boolean invoke(PsiMethod method) {
|
||||
return JvmAbi.isAccessorName(method.getName());
|
||||
String name = method.getName();
|
||||
return name.startsWith(JvmAbi.GETTER_PREFIX) || name.startsWith(JvmAbi.SETTER_PREFIX);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user