I am trying to get the reflected method in an instance but it is not shown in the decls result:
decls
val foo = new Object { def bar = 1 } typeOf[foo.type].decls //Does not contain bar method
How can I get the reflected MethodSymbol?
Aucun commentaire:
Enregistrer un commentaire