public class CodeDomProvider extends Component
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.Compiler.CodeDomProvider
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
static java.lang.String |
className
Qualified class name: System.CodeDom.Compiler.CodeDomProvider
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CodeDomProvider() |
CodeDomProvider(java.lang.Object instance)
Internal constructor.
|
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CodeDomProvider()
throws java.lang.Throwable
java.lang.Throwablepublic CodeDomProvider(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static CodeDomProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CodeDomProvider, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCodeDomProvider instancejava.lang.Throwable - in case of error during cast operationpublic CompilerResults CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit... compilationUnits) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public CompilerResults CompileAssemblyFromFile(CompilerParameters dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public CompilerResults CompileAssemblyFromFile(CompilerParameters options, java.lang.String... fileNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public CompilerResults CompileAssemblyFromSource(CompilerParameters dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public CompilerResults CompileAssemblyFromSource(CompilerParameters options, java.lang.String... sources) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public ICodeCompiler CreateCompiler() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String CreateEscapedIdentifier(java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public ICodeGenerator CreateGenerator() throws java.lang.Throwable
java.lang.Throwablepublic ICodeGenerator CreateGenerator(java.lang.String fileName) throws java.lang.Throwable
java.lang.Throwablepublic ICodeGenerator CreateGenerator(TextWriter output) throws java.lang.Throwable
java.lang.Throwablepublic ICodeParser CreateParser() throws java.lang.Throwable
java.lang.Throwablepublic static CodeDomProvider CreateProvider(java.lang.String language) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ConfigurationErrorsException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionIndexOutOfRangeExceptionpublic java.lang.String CreateValidIdentifier(java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void GenerateCodeFromCompileUnit(CodeCompileUnit compileUnit, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void GenerateCodeFromExpression(CodeExpression expression, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void GenerateCodeFromMember(CodeTypeMember member, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void GenerateCodeFromNamespace(CodeNamespace codeNamespace, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void GenerateCodeFromStatement(CodeStatement statement, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void GenerateCodeFromType(CodeTypeDeclaration codeType, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public static CompilerInfo[] GetAllCompilerInfo() throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionNotSupportedExceptionpublic static CompilerInfo GetCompilerInfo(java.lang.String language) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ConfigurationErrorsException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionConfigurationErrorsExceptionpublic TypeConverter GetConverter(NetType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException
public java.lang.String getFileExtension()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentJCType representing the CLR Type of the instantiated Classpublic static java.lang.String GetLanguageFromExtension(java.lang.String extension)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ObjectDisposedException,
AbandonedMutexException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ConfigurationErrorsException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionConfigurationErrorsExceptionpublic LanguageOptions getLanguageOptions() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String GetTypeOutput(CodeTypeReference type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public static boolean IsDefinedExtension(java.lang.String extension)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ObjectDisposedException,
AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic static boolean IsDefinedLanguage(java.lang.String language)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ObjectDisposedException,
AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic boolean IsValidIdentifier(java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public CodeCompileUnit Parse(TextReader codeStream) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic boolean Supports(GeneratorSupport generatorSupport) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException