2011-01-04 15:58:18 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
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>
|
2011-01-10 11:45:19 +01:00
|
|
|
<Import>java.lang.reflect.Field</Import>
|
2011-01-10 11:18:36 +01:00
|
|
|
</Imports>
|
2011-01-04 15:58:18 +01:00
|
|
|
<Java>Field</Java>
|
|
|
|
<Name>System.Reflection.FieldInfo</Name>
|
|
|
|
<Uses />
|
2011-01-21 17:52:57 +01:00
|
|
|
<Inherits> <Type>System.Object</Type> </Inherits>
|
2011-01-04 15:58:18 +01:00
|
|
|
<Methods>
|
|
|
|
<Method>
|
|
|
|
<Imports>
|
2011-01-10 11:45:19 +01:00
|
|
|
<Import>RusticiSoftware.JavaSupport.reflect.FieldSupport</Import>
|
2011-01-04 15:58:18 +01:00
|
|
|
</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}.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}.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}.getName()</Java>
|
|
|
|
<Type>System.String</Type>
|
|
|
|
<Name>Name</Name>
|
|
|
|
<Get>${this}.getName()</Get>
|
|
|
|
<Set>${this}.setName(${value})</Set>
|
|
|
|
</Property>
|
|
|
|
<Property>
|
|
|
|
<Imports />
|
|
|
|
<Java>${this}.getType()</Java>
|
|
|
|
<Type>System.Type</Type>
|
|
|
|
<Name>FieldType</Name>
|
|
|
|
<Get>${this}.getType()</Get>
|
|
|
|
<Set>${this}.setFieldType(${value})</Set>
|
|
|
|
</Property>
|
|
|
|
</Properties>
|
|
|
|
<Events />
|
|
|
|
<Indexers />
|
|
|
|
<Constructors />
|
|
|
|
<Fields />
|
|
|
|
<Casts />
|
|
|
|
<UnaryOps />
|
|
|
|
<BinaryOps />
|
2011-01-21 17:52:57 +01:00
|
|
|
</Class>
|