Package io.hawt.introspect

Source Code of io.hawt.introspect.Main

package io.hawt.introspect;

import io.hawt.util.introspect.support.ClassScanner;

import java.util.SortedMap;

/**
* Dumps all the classes on the classpath using hte ClassScanner
*/
public class Main {

    public static void main(String[] args) {
        ClassScanner scanner = ClassScanner.newInstance();
        SortedMap<String, Class<?>> answer = scanner.getAllClassesMap();

        for (Class<?> aClass : answer.values()) {
            System.out.println(aClass.getName());
        }
    }
}
TOP

Related Classes of io.hawt.introspect.Main

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.