|
Java™ by example!
|
|
|
How do I get a list of referenced types in a .class file?
Compile the following Java source file with java -g. Test.java:
Make sure Test.class in on your classpath and run Main: Main.java:
output:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|