865 for (int i = 0; i < methods.length; i++) { 866 result[i] = runtime().getHostJVMCIBackend().getMetaAccess().lookupJavaMethod(methods[i]); 867 assert !result[i].isConstructor(); 868 } 869 return result; 870 } 871 872 public ResolvedJavaMethod getClassInitializer() { 873 return compilerToVM().getClassInitializer(this); 874 } 875 876 @Override 877 public String toString() { 878 return "HotSpotType<" + getName() + ", resolved>"; 879 } 880 881 @Override 882 public boolean isTrustedInterfaceType() { 883 return TrustedInterface.class.isAssignableFrom(mirror()); 884 } 885 } | 865 for (int i = 0; i < methods.length; i++) { 866 result[i] = runtime().getHostJVMCIBackend().getMetaAccess().lookupJavaMethod(methods[i]); 867 assert !result[i].isConstructor(); 868 } 869 return result; 870 } 871 872 public ResolvedJavaMethod getClassInitializer() { 873 return compilerToVM().getClassInitializer(this); 874 } 875 876 @Override 877 public String toString() { 878 return "HotSpotType<" + getName() + ", resolved>"; 879 } 880 881 @Override 882 public boolean isTrustedInterfaceType() { 883 return TrustedInterface.class.isAssignableFrom(mirror()); 884 } 885 886 @Override 887 public boolean isCloneableWithAllocation() { 888 return (getAccessFlags() & config().jvmAccIsCloneableFast) != 0; 889 } 890 } |