Results 1 to 1 of 1

Thread: Class <T>

  1. #1
    dreuzel is offline Member
    Join Date
    Dec 2009
    Posts
    6
    Rep Power
    0

    Default 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 seeing
    Last edited by dreuzel; 12-22-2009 at 10:22 AM.

Similar Threads

  1. Replies: 2
    Last Post: 10-01-2009, 12:02 PM
  2. Child-Class Calling a Method in a Parent-Class
    By Blah_ in forum New To Java
    Replies: 5
    Last Post: 09-29-2009, 03:48 AM
  3. Replies: 7
    Last Post: 05-06-2009, 01:42 PM
  4. Replies: 8
    Last Post: 03-21-2009, 10:34 AM
  5. Calling a method on original class from created class
    By kpedersen in forum Advanced Java
    Replies: 4
    Last Post: 08-20-2008, 01:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •