Search:

Type: Posts; User: Redux23

Search: Search took 0.11 seconds.

  1. Replies
    14
    Views
    722

    Re: Java Reflection API

    Thanks.
  2. Replies
    14
    Views
    722

    Re: Java Reflection API

    Okay, thanks it helps. If I have any more questions can I ask on here or create a new forum for it?
  3. Replies
    14
    Views
    722

    Re: Java Reflection API

    Okay, so I have 3 files: ClassName, AnotherClassName, and Main which are created in the same Reflection API package. So I inspect the classes from the Main method as the code above does that. The...
  4. Replies
    14
    Views
    722

    Re: Java Reflection API

    Initially, like the code above, I created two other classes in the reflection API package itself. That is how it has been looking at the classes. They are all in one .class file.

    I need to create...
  5. Replies
    14
    Views
    722

    Re: Java Reflection API

    Now, that's my second problem as I do not fully understand the reflection API and I m still learning to use Java. if a .class file is stored in a folder, how do I access that through my program...
  6. Replies
    14
    Views
    722

    Re: Java Reflection API

    The idea was to make my program serve as a plugin that people can add to their codes to inspect their predefined classes. Do not know if it is a good idea.
  7. Replies
    14
    Views
    722

    Re: Java Reflection API

    So I created two classes and wrote a code to read them.



    package javareflectionapi;


    import java.lang.reflect.*;
  8. Replies
    14
    Views
    722

    Java Reflection API

    Please I want to ask: If one wants to inspect classes that are unknown say without instantiating that class. How do I write a dynamic reflection without accepting a fully qualified class name or...
Results 1 to 8 of 8