Dieser Commit ist enthalten in:
Ursprung
69c8ac3861
Commit
3da72831fe
@ -65,13 +65,10 @@ public class LinkageProcessor extends AbstractProcessor {
|
|||||||
public synchronized void init(ProcessingEnvironment processingEnv) {
|
public synchronized void init(ProcessingEnvironment processingEnv) {
|
||||||
super.init(processingEnv);
|
super.init(processingEnv);
|
||||||
|
|
||||||
String name = new File(System.getProperty("user.dir")).getName();
|
name = new File(System.getProperty("user.dir")).getName().replaceAll("[^a-zA-Z]", "").toLowerCase();
|
||||||
if (name.contains(".")) name = name.substring(0, name.indexOf('.'));
|
|
||||||
name = name.toLowerCase();
|
|
||||||
|
|
||||||
messager = processingEnv.getMessager();
|
messager = processingEnv.getMessager();
|
||||||
|
|
||||||
this.name = name;
|
|
||||||
packageName = "de.steamwar." + name + ".linkage";
|
packageName = "de.steamwar." + name + ".linkage";
|
||||||
className = "LinkageUtils";
|
className = "LinkageUtils";
|
||||||
mainClass();
|
mainClass();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren