mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-23 01:48:18 +00:00
code comments and minor improvements
This commit is contained in:
@@ -653,7 +653,7 @@ class SourceUnit {
|
||||
return null;
|
||||
}
|
||||
for (let type of this.types) {
|
||||
for (let method of type.sourceMethods) {
|
||||
for (let method of [...type.sourceMethods, ...type.constructors, ...type.initers]) {
|
||||
if (method.body && method.body.tokens && method.body.tokens.includes(token)) {
|
||||
return method;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user