Beispiele

import java.lang.reflect.*;

Class c = baum.Baum.class;

for (Field f : c.getFields()) {
	System.out.println (f);
}

for (Method m : c.getMethods()) {
	System.out.println (m);
}



Johannes Waldmann 2006-06-22