public class ICodeGeneratorImplementation extends NetObject implements ICodeGenerator
.NET documentation at https://learn.microsoft.com/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=8.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)
Invokes the .NET member CreateEscapedIdentifier.
|
java.lang.String |
CreateValidIdentifier(java.lang.String value)
Invokes the .NET member CreateValidIdentifier.
|
void |
GenerateCodeFromCompileUnit(CodeCompileUnit e,
TextWriter w,
CodeGeneratorOptions o)
Invokes the .NET member GenerateCodeFromCompileUnit.
|
void |
GenerateCodeFromExpression(CodeExpression e,
TextWriter w,
CodeGeneratorOptions o)
Invokes the .NET member GenerateCodeFromExpression.
|
void |
GenerateCodeFromNamespace(CodeNamespace e,
TextWriter w,
CodeGeneratorOptions o)
Invokes the .NET member GenerateCodeFromNamespace.
|
void |
GenerateCodeFromStatement(CodeStatement e,
TextWriter w,
CodeGeneratorOptions o)
Invokes the .NET member GenerateCodeFromStatement.
|
void |
GenerateCodeFromType(CodeTypeDeclaration e,
TextWriter w,
CodeGeneratorOptions o)
Invokes the .NET member GenerateCodeFromType.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String |
GetTypeOutput(CodeTypeReference type)
Invokes the .NET member GetTypeOutput.
|
boolean |
IsValidIdentifier(java.lang.String value)
Invokes the .NET member IsValidIdentifier.
|
boolean |
Supports(GeneratorSupport supports)
Invokes the .NET member 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)
Invokes the .NET member ValidateIdentifier.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic java.lang.String CreateEscapedIdentifier(java.lang.String value)
throws java.lang.Throwable
CreateEscapedIdentifier in interface ICodeGeneratorvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String CreateValidIdentifier(java.lang.String value)
throws java.lang.Throwable
CreateValidIdentifier in interface ICodeGeneratorvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GenerateCodeFromCompileUnit(CodeCompileUnit e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
GenerateCodeFromCompileUnit in interface ICodeGeneratore - the argument of type CodeCompileUnitw - the argument of type TextWritero - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GenerateCodeFromExpression(CodeExpression e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
GenerateCodeFromExpression in interface ICodeGeneratore - the argument of type CodeExpressionw - the argument of type TextWritero - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GenerateCodeFromNamespace(CodeNamespace e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
GenerateCodeFromNamespace in interface ICodeGeneratore - the argument of type CodeNamespacew - the argument of type TextWritero - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GenerateCodeFromStatement(CodeStatement e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
GenerateCodeFromStatement in interface ICodeGeneratore - the argument of type CodeStatementw - the argument of type TextWritero - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GenerateCodeFromType(CodeTypeDeclaration e, TextWriter w, CodeGeneratorOptions o) throws java.lang.Throwable
GenerateCodeFromType in interface ICodeGeneratore - the argument of type CodeTypeDeclarationw - the argument of type TextWritero - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ICodeGeneratorgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ICodeGeneratorgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ICodeGeneratorgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ICodeGeneratorgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in interface ICodeGeneratorgetJCOType in class NetObjectpublic java.lang.String GetTypeOutput(CodeTypeReference type) throws java.lang.Throwable
GetTypeOutput in interface ICodeGeneratortype - the argument of type CodeTypeReferencejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean IsValidIdentifier(java.lang.String value)
throws java.lang.Throwable
IsValidIdentifier in interface ICodeGeneratorvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Supports(GeneratorSupport supports) throws java.lang.Throwable
Supports in interface ICodeGeneratorsupports - the argument of type GeneratorSupportjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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 ICodeGeneratorvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLR