Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » itd problems with ajdt 1.6.3
itd problems with ajdt 1.6.3 [message #599463] Sun, 11 January 2009 11:56
Max Meier is currently offline Max MeierFriend
Messages: 4
Registered: July 2009
Junior Member

i have some problems using itd with ajdt 1.6.3.


- clean install of eclipse-SDK-3.4.1-win32
- using
installing AJDT (JT Weaving)
installing Equinox Aspects Feature

simple test implementation:

package test;

public enum MyEnum {
C1, C2;

package test.mi;

public aspect MixIn1 {

public interface IMixIn1 {};

declare parents :* implements Object;

public String IMixIn1.f11;

public void IMixIn1.m11() {
System.out.println("called m11");

public void IMixIn1.m12() {
System.out.println("called m12");


package test.mi;

public aspect MixIn2 {

public interface IMixIn2 {};

declare parents :* implements IMixIn2;

public void IMixIn2.m21() {
System.out.println("called m21");


package test.mi;

import test.*;
import static test.MyEnum.*;

public aspect MixIn3 {

private static MyEnum me1 = MyEnum.C1;
private static MyEnum me2 = C2;

public interface IMixIn3 {};

declare parents :* implements IMixIn3;

public void IMixIn3.m31() {
System.out.println(me1 + " " + me2);


import test.mi.MixIn1.IMixIn1;
import test.mi.MixIn2.IMixIn2;
import test.mi.MixIn3.IMixIn3;

public class MixedObject implements IMixIn1, IMixIn2, IMixIn3 { }


public class Test {

public static void main(String[] args) {

MixedObject mo = new MixedObject();


mo.f11 = "value";





public class Test1 {

public static void main(String[] args) {
new Test1().m21();
new Test1().m31();


problem descriptions:

- MixIn1 with "wrong" 'implements Objects' works "fine" with weaving
method and field only into MixedObject
- MixIn2 with correct 'implements IMixIn2' weaves into all classes of
- MixIn3 has marker "MyEnum$C1 cannot be resolved", but works fine
- MixedObject code assist doesn't work for IMixIn* in implements clause,
List shows them but selection doesn't work
- context menu "Declared On" at "declare parents :* implements
IMixIn2;" in MinIn2 shows Test, Test1
- no aspectj marker at "declare parents :* implements Object;" in
- code works but should not, Test1 and Test2 are executable


bug or my mistake ?

Previous Topic:No advice markers or cross references
Next Topic:itd problems with ajdt 1.6.3
Goto Forum:

Current Time: Sun May 27 19:49:30 GMT 2018

Powered by FUDForum. Page generated in 0.01999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top