public interface ICodeGenerator extends IJCOBridgeReflected
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.Compiler.ICodeGenerator
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.CodeDom, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.CodeDom
|
static java.lang.String |
className
Qualified class name: System.CodeDom.Compiler.ICodeGenerator
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
CreateEscapedIdentifier(java.lang.String value) |
java.lang.String |
CreateValidIdentifier(java.lang.String value) |
void |
GenerateCodeFromCompileUnit(CodeCompileUnit e,
TextWriter w,
CodeGeneratorOptions o) |
void |
GenerateCodeFromExpression(CodeExpression e,
TextWriter w,
CodeGeneratorOptions o) |
void |
GenerateCodeFromNamespace(CodeNamespace e,
TextWriter w,
CodeGeneratorOptions o) |
void |
GenerateCodeFromStatement(CodeStatement e,
TextWriter w,
CodeGeneratorOptions o) |
void |
GenerateCodeFromType(CodeTypeDeclaration e,
TextWriter w,
CodeGeneratorOptions o) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
GetTypeOutput(CodeTypeReference type) |
boolean |
IsValidIdentifier(java.lang.String value) |
boolean |
Supports(GeneratorSupport supports) |
static ICodeGenerator |
ToICodeGenerator(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ICodeGenerator, a cast assert is made to check if types are compatible. |
void |
ValidateIdentifier(java.lang.String value) |
static final java.lang.String assemblyFullName
static final java.lang.String assemblyShortName
static final java.lang.String className
java.lang.String CreateEscapedIdentifier(java.lang.String value)
throws java.lang.Throwable
java.lang.Throwablejava.lang.String CreateValidIdentifier(java.lang.String value)
throws java.lang.Throwable
java.lang.Throwablevoid GenerateCodeFromCompileUnit(CodeCompileUnit e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
java.lang.Throwablevoid GenerateCodeFromExpression(CodeExpression e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
java.lang.Throwablevoid GenerateCodeFromNamespace(CodeNamespace e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
java.lang.Throwablevoid GenerateCodeFromStatement(CodeStatement e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
java.lang.Throwablevoid GenerateCodeFromType(CodeTypeDeclaration e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
java.lang.Throwablejava.lang.String getJCOAssemblyName()
getJCOAssemblyName in interface IJCOBridgeReflectedString representing the Fullname of reflected Assemblyjava.lang.String getJCOClassName()
getJCOClassName in interface IJCOBridgeReflectedString representing the Fullname of reflected Classjava.lang.Object getJCOInstance()
getJCOInstance in interface IJCOBridgeReflectedObject representing the instance of the instantiated Classjava.lang.String getJCOObjectName()
getJCOObjectName in interface IJCOBridgeReflectedString representing the name used to allocated the object
in CLR contextJCType getJCOType()
getJCOType in interface IJCOBridgeReflectedJCType representing the Type of the instantiated Classjava.lang.String GetTypeOutput(CodeTypeReference type) throws java.lang.Throwable
java.lang.Throwableboolean IsValidIdentifier(java.lang.String value)
throws java.lang.Throwable
java.lang.Throwableboolean Supports(GeneratorSupport supports) throws java.lang.Throwable
java.lang.Throwablestatic ICodeGenerator ToICodeGenerator(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ICodeGenerator, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedICodeGenerator instancejava.lang.Throwable - in case of error during cast operationvoid ValidateIdentifier(java.lang.String value)
throws java.lang.Throwable
java.lang.Throwable