Search:

Type: Posts; User: Norm

Search: Search took 0.19 seconds.

  1. Replies
    14
    Views
    722

    Re: Java Reflection API

    Continue here if on the same program and problem.
  2. Replies
    14
    Views
    722

    Re: Java Reflection API

    Thanks. From your answer, I assume the program accesses the class files via the default classpath set when the program executes.

    How does that arrangement satisfy your requirements: using the...
  3. Replies
    14
    Views
    722

    Re: Java Reflection API

    What does that mean? I thought there can only be one class in a .class file.

    How does the program access the .class files you want it to inspect?
  4. Replies
    14
    Views
    722

    Re: Java Reflection API

    For simplicity, assume the .class file's location is known. How will the code look at that file?
    Later the FileChooser class can be added to allow the user to find and select the .class file.
    ...
  5. Replies
    14
    Views
    722

    Re: Java Reflection API

    Where are the classes to be inspected located? How will your program access them?
  6. Replies
    14
    Views
    722

    Re: Java Reflection API

    Where are those located? How does the code access them?
    For example if you have a .class file, will the code read the bytes of the code and parse out its contents?

    Please edit your post and...
  7. Replies
    14
    Views
    722

    Re: Java Reflection API

    Do you have an specific questions about how to use the classes and methods in the reflect package?
    What have you tried?

    Have you read this:...
Results 1 to 7 of 7