Procházet zdrojové kódy

280380: don't include package name in itds

tags/PRE_J5
aclement před 15 roky
rodič
revize
05d5befdd9

+ 5
- 1
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java Zobrazit soubor

@@ -168,7 +168,11 @@ public class AsmElementFormatter {

} else if (methodDeclaration instanceof InterTypeDeclaration) {
InterTypeDeclaration itd = (InterTypeDeclaration) methodDeclaration;
String name = itd.getOnType().toString() + "." + new String(itd.getDeclaredSelector());
String fqname = itd.getOnType().toString();
if (fqname.indexOf(".") != -1) {
fqname = fqname.substring(fqname.lastIndexOf(".") + 1);
}
String name = fqname + "." + new String(itd.getDeclaredSelector());
if (methodDeclaration instanceof InterTypeFieldDeclaration) {
node.setKind(IProgramElement.Kind.INTER_TYPE_FIELD);
node.setName(name);

Načítá se…
Zrušit
Uložit