aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/bugs/lists/case1/IdentifiableAspect.java
blob: 7b150fa591a3829d9cf2197eb0f88adb50b768f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public aspect IdentifiableAspect {
    declare parents: Bean implements LongIdentifiable;

    private Long LongIdentifiable.m_id;

    public Long LongIdentifiable.getId() {
        return m_id;
    }

    public void LongIdentifiable.setId(Long id) {
        m_id= id;
    }

  public static void main(String []argv) { 
    Bean b = new Bean();
  }
}