Thanks for your interest.
We are putting the finishing touches on a new version of SemmleCode that stores the whole program (everything, comments, javadoc, statements, expressions, ...). With that new version, you can query for local variables declared in a method body, and thus do what you are suggesting. For example, on my local development version, I just wrote the query:
from LocalVariableDecl d
where d.getType().hasName("TestBean")
select d.getCallable()
which finds all callables that declare a variable of a type named "TestBean".
Thanks for your interest and patience,
-Oege