mirror of
https://github.com/revanced/smali.git
synced 2025-05-16 22:17:07 +02:00
Check for null source file
git-svn-id: https://smali.googlecode.com/svn/trunk@344 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
0fa2c67bfd
commit
630a384c6b
@ -97,6 +97,11 @@ public class ClassDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getSourceFile() {
|
public String getSourceFile() {
|
||||||
|
StringIdItem sourceFile = classDefItem.getSourceFile();
|
||||||
|
|
||||||
|
if (sourceFile == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
return classDefItem.getSourceFile().getStringValue();
|
return classDefItem.getSourceFile().getStringValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user