Dieser Commit ist enthalten in:
Ursprung
746ae701d8
Commit
441661a8f5
@ -292,6 +292,7 @@ public class LinkageProcessor extends AbstractProcessor {
|
||||
|
||||
private LinkageType resolveSingle(TypeMirror typeMirror) {
|
||||
String qualifier = typeMirror.toString();
|
||||
if (qualifier.contains("<")) qualifier = qualifier.substring(0, qualifier.indexOf('<'));
|
||||
qualifier = qualifier.substring(qualifier.lastIndexOf('.') + 1);
|
||||
try {
|
||||
return (LinkageType) Class.forName("de.steamwar.linkage.types." + qualifier + "_" + context.name()).getDeclaredConstructor().newInstance();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren