public class ICodeGeneratorImplementation extends NetObject implements ICodeGenerator
.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=9.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
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ICodeGeneratorImplementation(java.lang.Object instance)
Internal constructor.
|
| 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) |
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ICodeGeneratorImplementation(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String CreateEscapedIdentifier(java.lang.String value)
throws java.lang.Throwable
CreateEscapedIdentifier in interface ICodeGeneratorjava.lang.Throwablepublic java.lang.String CreateValidIdentifier(java.lang.String value)
throws java.lang.Throwable
CreateValidIdentifier in interface ICodeGeneratorjava.lang.Throwablepublic void GenerateCodeFromCompileUnit(CodeCompileUnit e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
GenerateCodeFromCompileUnit in interface ICodeGeneratorjava.lang.Throwablepublic void GenerateCodeFromExpression(CodeExpression e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
GenerateCodeFromExpression in interface ICodeGeneratorjava.lang.Throwablepublic void GenerateCodeFromNamespace(CodeNamespace e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
GenerateCodeFromNamespace in interface ICodeGeneratorjava.lang.Throwablepublic void GenerateCodeFromStatement(CodeStatement e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
GenerateCodeFromStatement in interface ICodeGeneratorjava.lang.Throwablepublic void GenerateCodeFromType(CodeTypeDeclaration e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
GenerateCodeFromType in interface ICodeGeneratorjava.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ICodeGeneratorgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ICodeGeneratorgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ICodeGeneratorgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ICodeGeneratorgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ICodeGeneratorgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String GetTypeOutput(CodeTypeReference type) throws java.lang.Throwable
GetTypeOutput in interface ICodeGeneratorjava.lang.Throwablepublic boolean IsValidIdentifier(java.lang.String value)
throws java.lang.Throwable
IsValidIdentifier in interface ICodeGeneratorjava.lang.Throwablepublic boolean Supports(GeneratorSupport supports) throws java.lang.Throwable
Supports in interface ICodeGeneratorjava.lang.Throwablepublic static ICodeGenerator ToICodeGenerator(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ICodeGenerator, a cast assert is made to check if types are compatible.ToICodeGenerator in interface ICodeGeneratorfrom - IJCOBridgeReflected instance to be castedICodeGenerator instancejava.lang.Throwable - in case of error during cast operationpublic void ValidateIdentifier(java.lang.String value)
throws java.lang.Throwable
ValidateIdentifier in interface ICodeGeneratorjava.lang.Throwable