Mercurial > hg > graal-jvmci-8
view c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotType.java @ 1420:44efca8a02d6
reformatting similar to other maxine projects (tabs, etc.)
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Tue, 13 Jul 2010 11:47:55 -0700 |
parents | 1b41af477605 |
children | 6223633ce7dd |
line wrap: on
line source
package com.sun.hotspot.c1x; import com.sun.cri.ci.CiConstant; import com.sun.cri.ci.CiKind; import com.sun.cri.ri.*; public class HotSpotType implements RiType { final Object klassOop; public HotSpotType(Object o) { this.klassOop = o; assert klassOop != null; } @Override public int accessFlags() { // TODO Auto-generated method stub return 0; } @Override public RiType arrayOf() { // TODO Auto-generated method stub return null; } @Override public RiType componentType() { // TODO Auto-generated method stub return null; } @Override public RiType exactType() { // TODO Auto-generated method stub return null; } @Override public CiConstant getEncoding(Representation r) { // TODO Auto-generated method stub return null; } @Override public CiKind getRepresentationKind(Representation r) { // TODO Auto-generated method stub return null; } @Override public boolean hasFinalizableSubclass() { // TODO Auto-generated method stub return false; } @Override public boolean hasFinalizer() { // TODO Auto-generated method stub return false; } @Override public boolean hasSubclass() { // TODO Auto-generated method stub return false; } @Override public boolean isArrayClass() { System.out.println("Checking for array class " + name()); return VMEntries.RiType_isArrayClass(klassOop); } @Override public boolean isInitialized() { // TODO Auto-generated method stub return false; } @Override public boolean isInstance(Object obj) { // TODO Auto-generated method stub return false; } @Override public boolean isInstanceClass() { return VMEntries.RiType_isInstanceClass(klassOop); } @Override public boolean isInterface() { return VMEntries.RiType_isInterface(klassOop); } @Override public boolean isResolved() { return true; } @Override public boolean isSubtypeOf(RiType other) { // TODO Auto-generated method stub return false; } @Override public Class< ? > javaClass() { return VMEntries.RiType_javaClass(klassOop); } @Override public CiKind kind() { return CiKind.Object; } @Override public String name() { return VMEntries.RiType_name(klassOop); } @Override public RiMethod resolveMethodImpl(RiMethod method) { // TODO Auto-generated method stub return null; } }