aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs183/442425/EntityControllerAspect.java
blob: af3211fcbcf211eb246d487288107d821e15a4de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.*;

@Aspect
public class EntityControllerAspect {
  @DeclareParents(value = "@EntityController *", defaultImpl = EntityMongoController.class)
  private IEntityController iEntityController;

/*
  @DeclareMixin("@EntityController *")
  private IEntityController createEntityControllerInstance() {
    return new EntityMongoController();
  }
*/
}