// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package rightway;

public class ReflectionX {
    private static void testSimple(Object o) {
        for(String m : ((Order)o).getMethodNamesInOrder()) {
            System.out.println(m);
        }
    }
    public static void main(String[] args) throws Exception {
        testSimple(new SomeClass());
    }
}
