1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

100 lines
2.5 KiB
XML
Raw Permalink Normal View History

2011-05-22 17:40:22 +02:00
<?xml version="1.0" encoding="utf-8"?>
2011-02-08 12:27:00 +01:00
<!--
This file is
Copyright 2007,2008,2009,2010 Rustici Software, LLC
2011-03-22 08:50:05 +01:00
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
2011-02-08 12:27:00 +01:00
-->
2011-01-04 17:46:11 +01:00
<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">
2011-01-10 11:18:36 +01:00
<Imports />
<Java>Object</Java>
<Name>System.Object</Name>
<Uses />
<!-- very important that this doesn't inherit from system.object .... -->
<Inherits />
<Methods>
<Method>
<Imports />
2011-02-01 22:52:28 +01:00
<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 />
2011-02-01 22:52:28 +01:00
<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 />
2011-02-01 22:52:28 +01:00
<Java>${this:16}.getClass()</Java>
<Params />
<Name>GetType</Name>
<Return>System.Type</Return>
</Method>
2011-04-06 10:54:43 +02:00
<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 />
2013-03-15 16:50:55 +01:00
</Class>