<?xml version="1.0" encoding="utf-8"?> <!-- This file is Copyright 2007,2008,2009,2010 Rustici Software, LLC Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com) --> <Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0"> <Imports /> <Java>Object</Java> <Name>System.Object</Name> <Uses /> <!-- very important that this doesn't inherit from system.object .... --> <Inherits /> <Methods> <Method> <Imports /> <Java>${this:16}.equals(${obj})</Java> <Params> <Param> <Type>System.Object</Type> <Name>obj</Name> </Param> </Params> <Name>Equals</Name> <Return>System.Boolean</Return> </Method> <!-- added for Array.clone support, but since in java this is on Object, should be at System.Object level in translation for those .net objects which have Clone().--> <Method> <Imports /> <Java>${this:16}.clone(${obj})</Java> <Params /> <Name>Clone</Name> <Return>System.Object</Return> </Method> <Method> <Imports /> <Java>${this:16}.toString()</Java> <Params /> <Name>ToString</Name> <Return>System.String</Return> </Method> <Method> <Imports /> <Java>String.valueOf(${this})</Java> <Params> <Param> <Type>System.IFormatProvider</Type> <Name>provider</Name> </Param> </Params> <Name>ToString</Name> <Return>System.String</Return> </Method> <Method> <Imports /> <Java>${this:16}.getClass()</Java> <Params /> <Name>GetType</Name> <Return>System.Type</Return> </Method> <Method> <Imports /> <Java>${this:16}.hashCode()</Java> <Params /> <Name>GetHashCode</Name> <Return>System.Int</Return> </Method> <Method> <Imports> <Import>CS2JNet.System.ObjectSupport</Import> </Imports> <Java>ObjectSupport.Equals(${obj1}, ${obj2})</Java> <Params> <Param> <Type>System.Object</Type> <Name>obj1</Name> </Param> <Param> <Type>System.Object</Type> <Name>obj2</Name> </Param> </Params> <Name>Equals</Name> <Return>System.Boolean</Return> </Method> </Methods> <Properties /> <Events /> <Indexers /> <Constructors /> <Fields /> <Casts /> <UnaryOps /> <BinaryOps /> </Class>