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