New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After/before incorrectly generates warnings when inserting into Umple generated methods for associations. #686

Open
Shikib opened this Issue Jan 16, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@Shikib
Member

Shikib commented Jan 16, 2016

Consider the following code:

class A{
  int a;
}

class B {
  1 -- * A;

  after addA {
    test();
  }
}

addA exists as a method because its is generated by Umple for the association between A and B. The code that prints out warnings for unidentified methods doesn't recognize addA because it doesn't attempt to determine any of the methods for an association.

@TimLethbridge

This comment has been minimized.

Member

TimLethbridge commented Sep 20, 2016

Check if this is still an issue

@vahdat-ab

This comment has been minimized.

Member

vahdat-ab commented Sep 21, 2016

This works. However, what I noticed is that there are two methods with the name addA addA(int aA) and addA(A aA). This injection is applied to the second one. The question is that why we don't have it for the first one? it must be justified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment