Mercurial > hg > graal-compiler
comparison graal/com.oracle.max.criutils/src/com/oracle/max/criutils/BaseUnresolvedMethod.java @ 5541:b4c406861c33
More renamings to drop Ri* prefix completely. Deleted graph.BitMap class and replaced with java.util.BitSet.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 09 Jun 2012 16:52:12 +0200 |
parents | 426c605c9d3c |
children | b6617d13ea44 |
comparison
equal
deleted
inserted
replaced
5540:a891c53a295b | 5541:b4c406861c33 |
---|---|
24 | 24 |
25 import com.oracle.graal.api.code.*; | 25 import com.oracle.graal.api.code.*; |
26 import com.oracle.graal.api.meta.*; | 26 import com.oracle.graal.api.meta.*; |
27 | 27 |
28 /** | 28 /** |
29 * A implementation of {@link RiMethod} for an unresolved method. | 29 * A implementation of {@link JavaMethod} for an unresolved method. |
30 */ | 30 */ |
31 public class BaseUnresolvedMethod implements RiMethod { | 31 public class BaseUnresolvedMethod implements JavaMethod { |
32 | 32 |
33 public final String name; | 33 public final String name; |
34 public final RiType holder; | 34 public final JavaType holder; |
35 public final RiSignature signature; | 35 public final Signature signature; |
36 | 36 |
37 public BaseUnresolvedMethod(RiType holder, String name, RiSignature signature) { | 37 public BaseUnresolvedMethod(JavaType holder, String name, Signature signature) { |
38 this.name = name; | 38 this.name = name; |
39 this.holder = holder; | 39 this.holder = holder; |
40 this.signature = signature; | 40 this.signature = signature; |
41 } | 41 } |
42 | 42 |
43 public String name() { | 43 public String name() { |
44 return name; | 44 return name; |
45 } | 45 } |
46 | 46 |
47 public RiType holder() { | 47 public JavaType holder() { |
48 return holder; | 48 return holder; |
49 } | 49 } |
50 | 50 |
51 public RiSignature signature() { | 51 public Signature signature() { |
52 return signature; | 52 return signature; |
53 } | 53 } |
54 | 54 |
55 @Override | 55 @Override |
56 public int hashCode() { | 56 public int hashCode() { |