minor: fixes for invokeDynamic
minor: package fix
testing memory usage
There is no need for generic signature
the same logic to handle names as in IDEA