org.stjs.generator
Class DependencyCollection
java.lang.Object
org.stjs.generator.DependencyCollection
public class DependencyCollection
- extends Object
This class is used to arrange the list of all dependencies coming from the root classes, such that classes depend on
other classes found in the dependency list before they appear. This can be used for example to build the include list
of the scripts for a given html page. As in Java cyclic dependency is possible the list may be incorrect.
- Author:
- acraciun
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEPENDENCY_COMPARATOR
public static final Comparator<Class<?>> DEPENDENCY_COMPARATOR
DependencyCollection
public DependencyCollection(List<ClassWithJavascript> roots)
DependencyCollection
public DependencyCollection(ClassWithJavascript root)
orderAllDependencies
public List<ClassWithJavascript> orderAllDependencies(ClassLoader classLoader)
Copyright © 2014. All Rights Reserved.