KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ch > ethz > prose > jvmai > jikesrvm > advice_weaver > MethodExitJoinPointImpl


1 package ch.ethz.prose.jvmai.jikesrvm.advice_weaver;
2
3 import ch.ethz.jvmai.MethodExitJoinPoint;
4
5 /**
6  * Concrete implementation of a MethodExitJoinPoint for the Jikes RVM.
7  *
8  * @author Johann Gyger
9  */

10 public class MethodExitJoinPointImpl extends MethodJoinPointImpl implements MethodExitJoinPoint {
11
12   public String JavaDoc getKind() {
13     return KIND_METHOD_EXIT_JP;
14   }
15
16   public int getMask() {
17     return MASK_CODE_JP | MASK_METHOD_EXIT_JP;
18   }
19
20   public Object JavaDoc getResult() {
21     throw new RuntimeException JavaDoc("Not implemented: " + getClass().getName() + ".getResult()");
22   }
23
24   public void setResult(Object JavaDoc result) {
25     throw new RuntimeException JavaDoc("Not implemented: " + getClass().getName() + ".setResult()");
26   }
27
28 }
29
Popular Tags