Alexey Andreev 2015-03-01 12:07:39 +03:00
parent bacd02d8a7
commit c8090c0bde

View File

@ -84,7 +84,9 @@ class JSODependencyListener implements DependencyListener {
for (MethodReader method : cls.getMethods()) { for (MethodReader method : cls.getMethods()) {
if (exposedCls.inheritedMethods.containsKey(method.getDescriptor()) || if (exposedCls.inheritedMethods.containsKey(method.getDescriptor()) ||
exposedCls.methods.containsKey(method.getDescriptor())) { exposedCls.methods.containsKey(method.getDescriptor())) {
agent.linkMethod(method.getReference(), null).use(); MethodDependency methodDep = agent.linkMethod(method.getReference(), null);
methodDep.getVariable(0).propagate(agent.getType(name));
methodDep.use();
} }
} }
return exposedCls; return exposedCls;