30 /** A specialization of BasicField which represents a field containing |
30 /** A specialization of BasicField which represents a field containing |
31 an oop value and which adds typechecked getValue() routines |
31 an oop value and which adds typechecked getValue() routines |
32 returning OopHandles. */ |
32 returning OopHandles. */ |
33 |
33 |
34 public class BasicOopField extends BasicField implements OopField { |
34 public class BasicOopField extends BasicField implements OopField { |
|
35 |
|
36 |
|
37 public BasicOopField(OopField oopf) { |
|
38 super(oopf); |
|
39 } |
|
40 |
35 public BasicOopField(BasicTypeDataBase db, Type containingType, String name, Type type, |
41 public BasicOopField(BasicTypeDataBase db, Type containingType, String name, Type type, |
36 boolean isStatic, long offset, Address staticFieldAddress) { |
42 boolean isStatic, long offset, Address staticFieldAddress) { |
37 super(db, containingType, name, type, isStatic, offset, staticFieldAddress); |
43 super(db, containingType, name, type, isStatic, offset, staticFieldAddress); |
38 |
44 |
39 if (!type.isOopType()) { |
45 if (!type.isOopType()) { |