equal
deleted
inserted
replaced
24 |
24 |
25 import java.io.File; |
25 import java.io.File; |
26 import java.io.IOException; |
26 import java.io.IOException; |
27 import java.io.UncheckedIOException; |
27 import java.io.UncheckedIOException; |
28 import java.util.Collections; |
28 import java.util.Collections; |
29 import java.util.HashSet; |
|
30 import java.util.Map; |
29 import java.util.Map; |
31 import java.util.Set; |
|
32 import jdk.tools.jlink.plugin.ModuleEntry; |
30 import jdk.tools.jlink.plugin.ModuleEntry; |
33 import jdk.tools.jlink.plugin.ModulePool; |
31 import jdk.tools.jlink.plugin.ModulePool; |
34 import jdk.tools.jlink.plugin.TransformerPlugin; |
32 import jdk.tools.jlink.plugin.TransformerPlugin; |
35 |
33 |
36 /** |
34 /** |
61 throw new UncheckedIOException(ex); |
59 throw new UncheckedIOException(ex); |
62 } |
60 } |
63 } |
61 } |
64 |
62 |
65 @Override |
63 @Override |
66 public Set<Category> getType() { |
|
67 Set<Category> set = new HashSet<>(); |
|
68 set.add(Category.TRANSFORMER); |
|
69 return Collections.unmodifiableSet(set); |
|
70 } |
|
71 |
|
72 @Override |
|
73 public String getDescription() { |
64 public String getDescription() { |
74 return NAME + "-description"; |
65 return NAME + "-description"; |
75 } |
66 } |
76 } |
67 } |