f6a31ad97f9d9fa0be42f9e8dee4e60b8c9862b8
1 /**********************************************************************/
2 /* Method Reference class for J2CPS */
4 /* (c) copyright QUT */
5 /**********************************************************************/
8 public class MethodRef
extends Reference
{
10 public MethodRef(ConstantPool thisCp
, int classIndex
, int ntIndex
) {
11 super(thisCp
,classIndex
,ntIndex
);
14 public String
getMethodName() {
15 return (classRef
.GetName() + "." + name
+ type
);
19 public String
toString() {
21 return ("<MethodReference> " + classIndex
+ " " + nameAndTypeIndex
+ " " +
22 classRef
.GetName() + "." + name
+ " " + type
);