Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] dependency injection through (equinox) aspects?


There are other cases where aspects combined with annotations can be used efficiently:

E.g., instead of writing

public void myUICode() {
 Display.syncExec( new Runnable() {
  public void run() {
  ... do something
  }
 } );
}

you would just do...

@RunInUI( sync = true )
public void myUICode() {
 ... do something
}

There are many other use cases like this one...



Back to the top