KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > uka > ipd > coverage > natures > all_uses > AbstractPhiFunction


1 /*
2  * Created on 24.09.2004
3  *
4  * written by Matthias Kempka
5  */

6 package de.uka.ipd.coverage.natures.all_uses;
7
8 import org.apache.bcel.generic.LocalVariableGen;
9 import org.apache.bcel.generic.NOP;
10
11 /**
12  * Created on 24.09.2004
13  * @author Matthias Kempka
14  */

15 /*
16  * this should be a interface, but it is necessary that subclasses are
17  * instruction objects, thus it has been declared as empty abstract class.
18  */

19 abstract class AbstractPhiFunction extends NOP {
20     
21     /**
22      * @return returns the local variable the phi function redirects to.
23      */

24     public abstract LocalVariableGen getLocalVariable();
25     
26     /**
27      * @return returns the index of the original local variable (the one,
28      * that is redirected).
29      */

30     public abstract int getOriginalIndex();
31 }
Popular Tags