mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-22 17:39:19 +00:00
add constructor parameters to list of resolvable types
This commit is contained in:
@@ -98,6 +98,11 @@ class SourceType extends CEIType {
|
||||
res.push(m._returnType);
|
||||
m.parameters.forEach(p => res.push(p._paramType));
|
||||
});
|
||||
this.constructors.forEach(c => {
|
||||
if (c instanceof SourceConstructor) {
|
||||
c.parameters.forEach(p => res.push(p._paramType));
|
||||
}
|
||||
});
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user