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

49 lines
1.3 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>System.Object</Name>
<Java>Object</Java>
<Methods>
<Method>
<Return>System.Boolean</Return>
<Name>Equals</Name>
<Params>
<Param>
<Type>System.Object</Type>
<Name>obj</Name>
</Param>
</Params>
<Java>${this}.equals(${obj})</Java>
</Method>
<Method>
<Return>System.String</Return>
<Name>ToString</Name>
<Java>${this}.toString()</Java>
</Method>
<Method>
<Return>System.String</Return>
<Name>ToString</Name>
<Params>
<Param>
<Type>System.IFormatProvider</Type>
<Name>provider</Name>
</Param>
</Params>
<Java>String.valueOf(${this})</Java>
</Method>
<Method>
<Return>System.Type</Return>
<Name>GetType</Name>
<Java>${this}.getClass()</Java>
</Method>
</Methods>
<Casts>
<Cast>
<From>System.Object</From>
<To>System.Boolean</To>
<Java>(Boolean)(${expr})</Java>
</Cast>
</Casts>
</Class>