mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-23 01:48:18 +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);
|
res.push(m._returnType);
|
||||||
m.parameters.forEach(p => res.push(p._paramType));
|
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;
|
return res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user