I am trying to make a call from a Play Java class to a Scala method which takes a ClassTag as a parameter
My failing attempt is
Option<LocalUser> localUser = Cache.getAs(userId.userId(), app, new ClassTag<LocalUser>() );
The API method looks like this
Cache.getAs(String key, Application app, ClassTag<LocalUser> ct );