mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
92 lines
3.0 KiB
XML
92 lines
3.0 KiB
XML
<?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>
|
|
<Import>java.lang.reflect.Field</Import>
|
|
</Imports>
|
|
<Java>Field</Java>
|
|
<Name>System.Reflection.FieldInfo</Name>
|
|
<Uses />
|
|
<Inherits> <Type>System.Object</Type> </Inherits>
|
|
<Methods>
|
|
<Method>
|
|
<Imports>
|
|
<Import>CS2JNet.JavaSupport.reflect.FieldSupport</Import>
|
|
</Imports>
|
|
<Java>FieldSupport.getAnnotations(${this}, ${attributeType}, ${inherits})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Type</Type>
|
|
<Name>attributeType</Name>
|
|
</Param>
|
|
<Param>
|
|
<Type>System.Boolean</Type>
|
|
<Name>inherits</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>GetCustomAttributes</Name>
|
|
<Return>System.Object[]</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this:16}.get(${obj})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>obj</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>GetValue</Name>
|
|
<Return>System.Object</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this:16}.set(${obj}, ${value})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>obj</Name>
|
|
</Param>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>value</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>SetValue</Name>
|
|
<Return>System.Void</Return>
|
|
</Method>
|
|
</Methods>
|
|
<Properties>
|
|
<Property>
|
|
<Imports />
|
|
<Java>${this:16}.getName()</Java>
|
|
<Type>System.String</Type>
|
|
<Name>Name</Name>
|
|
<Get>${this:16}.getName()</Get>
|
|
<Set>${this:16}.setName(${value})</Set>
|
|
</Property>
|
|
<Property>
|
|
<Imports />
|
|
<Java>${this:16}.getType()</Java>
|
|
<Type>System.Type</Type>
|
|
<Name>FieldType</Name>
|
|
<Get>${this:16}.getType()</Get>
|
|
<Set>${this:16}.setFieldType(${value})</Set>
|
|
</Property>
|
|
</Properties>
|
|
<Events />
|
|
<Indexers />
|
|
<Constructors />
|
|
<Fields />
|
|
<Casts />
|
|
<UnaryOps />
|
|
<BinaryOps />
|
|
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>54yyu2Jr35gShP2DeW7eW6xzfTM=</DigestValue></Reference></SignedInfo><SignatureValue>TlzgaopFtpss+AOYUhx+vytDNKgFLggcspVaeFNW+OYMbCR2/TxpiYjMWG/I7iImB7stmWj8fWNKH9Nj9HCI/1mg8SgGr5+NTg6I8t+5O+xKy3ZiNusePq56ba0zqklGa+ITtfROx6vVaOZL3zcaW91fBA9+ZPnB5aySN6L5NxI=</SignatureValue></Signature></Class>
|