C# Class net.sf.jni4net.proxygen.generator.Generator

显示文件 Open project: Mazrick/jni4net

Public Properties

Property Type Description
TypesCLR string>.Dictionary
TypesJVM string>.Dictionary
config net.sf.jni4net.proxygen.config.ToolConfig
filesCLR List
filesJVM List

Protected Properties

Property Type Description
classVariableName string
envVariable System.CodeDom.CodeVariableReferenceExpression
envVariableName string
envpVariableName string
handleVariableName string
objVariable System.CodeDom.CodeVariableReferenceExpression
objVariableName string
realVariable System.CodeDom.CodeVariableReferenceExpression
realVariableName string
type net.sf.jni4net.proxygen.model.GType
typeVariableName string

Public Methods

Method Description
GenerateAll ( ) : void
TypeReference ( Type src ) : CodeTypeReference
TypeReference ( string src ) : CodeTypeReference
TypeReferenceEx ( Type src ) : CodeTypeReferenceExpression
TypeReferenceEx ( string src ) : CodeTypeReferenceExpression

Protected Methods

Method Description
AddTypeCLR ( string type ) : void
AddTypeJVM ( string type ) : void
CreateEnvConstructor ( CodeTypeDeclaration tgtType, string envType, bool pub, bool handle, bool proxy ) : void
Generate ( ) : void
Generate ( CodeNamespace nameSpace ) : void
Generator ( GType type ) : System.CodeDom
SetCurrentType ( string current ) : void
SetCurrentType ( string current, string real, string proxy, string statc ) : void

Method Details

AddTypeCLR() protected method

protected AddTypeCLR ( string type ) : void
type string
return void

AddTypeJVM() protected method

protected AddTypeJVM ( string type ) : void
type string
return void

CreateEnvConstructor() protected method

protected CreateEnvConstructor ( CodeTypeDeclaration tgtType, string envType, bool pub, bool handle, bool proxy ) : void
tgtType System.CodeDom.CodeTypeDeclaration
envType string
pub bool
handle bool
proxy bool
return void

Generate() protected abstract method

protected abstract Generate ( ) : void
return void

Generate() protected abstract method

protected abstract Generate ( CodeNamespace nameSpace ) : void
nameSpace System.CodeDom.CodeNamespace
return void

GenerateAll() public static method

public static GenerateAll ( ) : void
return void

Generator() protected method

protected Generator ( GType type ) : System.CodeDom
type net.sf.jni4net.proxygen.model.GType
return System.CodeDom

SetCurrentType() protected method

protected SetCurrentType ( string current ) : void
current string
return void

SetCurrentType() protected method

protected SetCurrentType ( string current, string real, string proxy, string statc ) : void
current string
real string
proxy string
statc string
return void

TypeReference() public static method

public static TypeReference ( Type src ) : CodeTypeReference
src Type
return System.CodeDom.CodeTypeReference

TypeReference() public static method

public static TypeReference ( string src ) : CodeTypeReference
src string
return System.CodeDom.CodeTypeReference

TypeReferenceEx() public static method

public static TypeReferenceEx ( Type src ) : CodeTypeReferenceExpression
src Type
return System.CodeDom.CodeTypeReferenceExpression

TypeReferenceEx() public static method

public static TypeReferenceEx ( string src ) : CodeTypeReferenceExpression
src string
return System.CodeDom.CodeTypeReferenceExpression

Property Details

TypesCLR public_oe static_oe property

public static Dictionary TypesCLR
return string>.Dictionary

TypesJVM public_oe static_oe property

public static Dictionary TypesJVM
return string>.Dictionary

classVariableName protected_oe static_oe property

protected static string classVariableName
return string

config public_oe static_oe property

public static ToolConfig,net.sf.jni4net.proxygen.config config
return net.sf.jni4net.proxygen.config.ToolConfig

envVariable protected_oe property

protected CodeVariableReferenceExpression,System.CodeDom envVariable
return System.CodeDom.CodeVariableReferenceExpression

envVariableName protected_oe static_oe property

protected static string envVariableName
return string

envpVariableName protected_oe static_oe property

protected static string envpVariableName
return string

filesCLR public_oe static_oe property

public static List filesCLR
return List

filesJVM public_oe static_oe property

public static List filesJVM
return List

handleVariableName protected_oe static_oe property

protected static string handleVariableName
return string

objVariable protected_oe property

protected CodeVariableReferenceExpression,System.CodeDom objVariable
return System.CodeDom.CodeVariableReferenceExpression

objVariableName protected_oe static_oe property

protected static string objVariableName
return string

realVariable protected_oe property

protected CodeVariableReferenceExpression,System.CodeDom realVariable
return System.CodeDom.CodeVariableReferenceExpression

realVariableName protected_oe static_oe property

protected static string realVariableName
return string

type protected_oe property

protected GType,net.sf.jni4net.proxygen.model type
return net.sf.jni4net.proxygen.model.GType

typeVariableName protected_oe static_oe property

protected static string typeVariableName
return string