Results 1 to 1 of 1
Thread: Class <T>
- 12-21-2009, 05:47 PM #1
Member
- Join Date
- Dec 2009
- Posts
- 6
- Rep Power
- 0
Class <T>
I've got an odd problem with my classes // i lose all meta information of my class (data correct)
I want to interprete the annotations of my class (an entity bean)
My class is derived from an interface called DataStructure
I'm trying to evaluate the type (getType()) of a ValueExpression
As I get the returned class ... it is presented as
java.lang.Object
in eclips it says Class<T> (java.lang.Object)
of coars I would like to have the complete / correct class description.
but seemingly I can not get at it . all annotations are null
As i try for an instance ...
Cls.isInstance(.....DataStructure) it confirms I'e got the right class.
The output is obviously ambigious and so difficult to use
-cls.g.getCanonicalName()=java.lang.Object
and it is an instance of my class
ANy help would help me a lot.
I do not seem to be able to grasp the result I'm seeingLast edited by dreuzel; 12-22-2009 at 09:22 AM.
Similar Threads
-
unzip .jar/decompile .class/edit .jad/re-compiled . class ????
By ralex76 in forum New To JavaReplies: 2Last Post: 10-01-2009, 11:02 AM -
Child-Class Calling a Method in a Parent-Class
By Blah_ in forum New To JavaReplies: 5Last Post: 09-29-2009, 02:48 AM -
[SOLVED] How to pass information from child class to parent class
By pellebye in forum New To JavaReplies: 7Last Post: 05-06-2009, 12:42 PM -
problem in accessing array values of one class in to jframe class
By cenafu in forum AWT / SwingReplies: 8Last Post: 03-21-2009, 09:34 AM -
Calling a method on original class from created class
By kpedersen in forum Advanced JavaReplies: 4Last Post: 08-20-2008, 12:25 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks