JaCIL Framework API

TypeMapper.MapDescriptor Method (String)

Returns the mapped Java type descriptor for the given type name.

public static string MapDescriptor(
   string name
);

Parameters

name
The fully qualified type name.

Return Value

The Java descriptor.

Remarks

The type name must be a fully qualified type (i.e. System.Int32). Also, primitive mappings are applied. For example, System.Int32 is converted to I, and System.String is mapped to Ljava/lang/String;.

See Also

TypeMapper Class | JaCIL.Compiler.Util Namespace | TypeMapper.MapDescriptor Overload List | Mangler