Continue here if on the same program and problem.
Type: Posts; User: Norm
Continue here if on the same program and problem.
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...
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?
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.
...
Where are the classes to be inspected located? How will your program access them?
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...
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:...