1 /****************************************************************************************************
2 * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
3 * http://aspectwerkz.codehaus.org *
4 * ---------------------------------------------------------------------------------- * The software
5 * in this package is published under the terms of the LGPL license * a copy of which has been
6 * included with this distribution in the license.txt file. *
7 **************************************************************************************************/
8 package test.reflection;
9
10 public class Child2 extends Super2 {
11 public int incr(int value) {
12 int res = super.incr(value);
13 return (res >= 0) ? (res + 1) : (res - 1);
14 }
15
16 public static int incrStatic(int value) {
17 int res = Super2.incrStatic(value);
18 return (res >= 0) ? (res + 1) : (res - 1);
19 }
20 }