Results 1 to 1 of 1
- 12-07-2011, 11:55 AM #1
Member
- Join Date
- Dec 2011
- Posts
- 1
- Rep Power
- 0
How to get a compatible class of a template class? Return type of method is AClass<E>
Hi,
I have the following method:
@Override
public Class<AClass<E>> getPersistenceClass() {
return ??? ;
}
What do I need to do to get a Class object that is compatible with the return type? I tried AClass.class but that does not work.
Any ideas anyone?
Thanks,
Stef
Similar Threads
-
Err: invalid method declaration; return type required
By Die The Villain in forum New To JavaReplies: 12Last Post: 04-15-2011, 12:44 AM -
Deleted Class template code. Now I cant make class.
By AcousticBruce in forum IntelliJ IDEAReplies: 0Last Post: 01-11-2011, 10:52 PM -
[SOLVED] Undeclared Return Type for Method?
By fullmetaljacket in forum New To JavaReplies: 11Last Post: 05-16-2009, 03:38 AM -
Method return type problem
By McChill in forum New To JavaReplies: 7Last Post: 05-05-2009, 09:21 PM -
Help: how can get method, arg, return type... from a file .class
By ykzforever in forum New To JavaReplies: 4Last Post: 11-25-2008, 05:53 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks