DEADSOFTWARE

Remove batch
[gpcp-linux.git] / J2CPS / MethodRef.java
1 /**********************************************************************/
2 /* Method Reference class for J2CPS */
3 /* */
4 /* (c) copyright QUT */
5 /**********************************************************************/
6 package J2CPS;
8 public class MethodRef extends Reference {
10 public MethodRef(ConstantPool thisCp, int classIndex, int ntIndex) {
11 super(thisCp,classIndex,ntIndex);
12 }
14 public String getMethodName() {
15 return (classRef.GetName() + "." + name + type);
16 }
18 @Override
19 public String toString() {
20 this.Resolve();
21 return ("<MethodReference> " + classIndex + " " + nameAndTypeIndex + " " +
22 classRef.GetName() + "." + name + " " + type);
23 }
25 }