public Signature(MethodDefinition method, ExportAttribute export)
     : this(method.Name, GetJniSignature(method), "__export__", null, null, export.SuperArgumentsString)
 {
     IsExport         = true;
     IsStatic         = method.IsStatic;
     JavaAccess       = JavaCallableWrapperGenerator.GetJavaAccess(method.Attributes & MethodAttributes.MemberAccessMask);
     ThrownTypeNames  = export.ThrownNames;
     JavaNameOverride = export.Name;
     Annotations      = JavaCallableWrapperGenerator.GetAnnotationsString("\t", method.CustomAttributes);
 }
Exemplo n.º 2
0
 public Signature(MethodDefinition method, RegisterAttribute register, string managedParameters, string outerType)
     : this(register.Name, register.Signature, register.Connector, managedParameters, outerType, null)
 {
     Annotations = JavaCallableWrapperGenerator.GetAnnotationsString("\t", method.CustomAttributes);
 }