C# Class JavaToCSharp.TypeHelper

Show file Open project: paulirwin/JavaToCSharp

Public Methods

Method Description
Capitalize ( string name ) : string
ConvertIdentifierName ( string name ) : string
ConvertType ( string typeName ) : string
GetSyntaxFromType ( ClassOrInterfaceType type, bool addI = false ) : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax
ReplaceCommonMethodNames ( string name ) : string

Method Details

Capitalize() public static method

public static Capitalize ( string name ) : string
name string
return string

ConvertIdentifierName() public static method

public static ConvertIdentifierName ( string name ) : string
name string
return string

ConvertType() public static method

public static ConvertType ( string typeName ) : string
typeName string
return string

GetSyntaxFromType() public static method

public static GetSyntaxFromType ( ClassOrInterfaceType type, bool addI = false ) : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax
type ClassOrInterfaceType
addI bool
return Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax

ReplaceCommonMethodNames() public static method

public static ReplaceCommonMethodNames ( string name ) : string
name string
return string