public class CodeGenerator extends NetObject implements ICodeGenerator
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.Compiler.CodeGenerator
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.CodeGenerator
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CodeGenerator() |
CodeGenerator(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CodeGenerator |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CodeGenerator, a cast assert is made to check if types are compatible. |
void |
GenerateCodeFromMember(CodeTypeMember member,
TextWriter writer,
CodeGeneratorOptions options) |
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
|
static boolean |
IsValidLanguageIndependentIdentifier(java.lang.String value) |
void |
setJCOInstance(JCObject instance) |
static void |
ValidateIdentifiers(CodeObject e) |
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringCreateEscapedIdentifier, CreateValidIdentifier, GenerateCodeFromCompileUnit, GenerateCodeFromExpression, GenerateCodeFromNamespace, GenerateCodeFromStatement, GenerateCodeFromType, GetTypeOutput, IsValidIdentifier, Supports, ToICodeGenerator, ValidateIdentifierpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CodeGenerator()
throws java.lang.Throwable
java.lang.Throwablepublic CodeGenerator(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static CodeGenerator cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CodeGenerator, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCodeGenerator instancejava.lang.Throwable - in case of error during cast operationpublic void GenerateCodeFromMember(CodeTypeMember member, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public 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 static boolean IsValidLanguageIndependentIdentifier(java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void ValidateIdentifiers(CodeObject e) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, FormatException, NotSupportedException, OutOfMemoryException