0
|
1 package nabble.modules.hacks;
|
|
2
|
|
3 import nabble.naml.compiler.Module;
|
|
4 import nabble.naml.compiler.Source;
|
|
5
|
|
6 import java.util.Arrays;
|
|
7 import java.util.Collection;
|
|
8 import java.util.Collections;
|
|
9 import java.util.Set;
|
|
10
|
|
11
|
|
12 public enum HacksModule implements Module {
|
|
13 INSTANCE;
|
|
14
|
|
15 private static final Iterable<Class> extensions = Arrays.<Class>asList(
|
|
16 UserNamespaceExt.class
|
|
17 );
|
|
18
|
|
19 public String getName() {
|
|
20 return "hacks";
|
|
21 }
|
|
22
|
|
23 public Iterable<Class> getExtensions() {
|
|
24 return extensions;
|
|
25 }
|
|
26
|
|
27 public Collection<Source> getSources() {
|
|
28 return Collections.emptyList();
|
|
29 }
|
|
30
|
|
31 public Set<String> getDependencies() {
|
|
32 return Collections.emptySet();
|
|
33 }
|
|
34 } |