Package system.codedom.compiler
Class CompilerParameters
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.codedom.compiler.CompilerParameters
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class CompilerParameters extends NetObject
The base .NET class managing System.CodeDom.Compiler.CompilerParameters, System.CodeDom, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.Compiler.CompilerParameters
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.CodeDom, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.StringassemblyShortNameAssembly name: System.CodeDomstatic java.lang.StringclassNameQualified class name: System.CodeDom.Compiler.CompilerParametersstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description CompilerParameters()CompilerParameters(java.lang.Object instance)Internal constructor.CompilerParameters(java.lang.String[] assemblyNames)CompilerParameters(java.lang.String[] assemblyNames, java.lang.String outputName)CompilerParameters(java.lang.String[] assemblyNames, java.lang.String outputName, boolean includeDebugInformation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompilerParameterscast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoCompilerParameters, a cast assert is made to check if types are compatible.java.lang.StringgetCompilerOptions()java.lang.StringgetCoreAssemblyFileName()StringCollectiongetEmbeddedResources()booleangetGenerateExecutable()booleangetGenerateInMemory()booleangetIncludeDebugInformation()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeStringCollectiongetLinkedResources()java.lang.StringgetMainClass()java.lang.StringgetOutputAssembly()StringCollectiongetReferencedAssemblies()TempFileCollectiongetTempFiles()booleangetTreatWarningsAsErrors()intgetWarningLevel()java.lang.StringgetWin32Resource()voidsetCompilerOptions(java.lang.String CompilerOptions)voidsetCoreAssemblyFileName(java.lang.String CoreAssemblyFileName)voidsetGenerateExecutable(boolean GenerateExecutable)voidsetGenerateInMemory(boolean GenerateInMemory)voidsetIncludeDebugInformation(boolean IncludeDebugInformation)voidsetJCOInstance(JCObject instance)voidsetMainClass(java.lang.String MainClass)voidsetOutputAssembly(java.lang.String OutputAssembly)voidsetTempFiles(TempFileCollection TempFiles)voidsetTreatWarningsAsErrors(boolean TreatWarningsAsErrors)voidsetWarningLevel(int WarningLevel)voidsetWin32Resource(java.lang.String Win32Resource)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.CodeDom, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.CodeDom- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.CodeDom.Compiler.CompilerParameters- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CompilerParameters
public CompilerParameters(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
CompilerParameters
public CompilerParameters() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionRankExceptionArgumentExceptionArrayTypeMismatchException
-
CompilerParameters
public CompilerParameters(java.lang.String[] assemblyNames, java.lang.String outputName, boolean includeDebugInformation) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException
-
CompilerParameters
public CompilerParameters(java.lang.String[] assemblyNames, java.lang.String outputName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
CompilerParameters
public CompilerParameters(java.lang.String[] assemblyNames) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static CompilerParameters cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoCompilerParameters, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
CompilerParametersinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getGenerateExecutable
public boolean getGenerateExecutable() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setGenerateExecutable
public void setGenerateExecutable(boolean GenerateExecutable) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getGenerateInMemory
public boolean getGenerateInMemory() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setGenerateInMemory
public void setGenerateInMemory(boolean GenerateInMemory) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIncludeDebugInformation
public boolean getIncludeDebugInformation() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIncludeDebugInformation
public void setIncludeDebugInformation(boolean IncludeDebugInformation) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTreatWarningsAsErrors
public boolean getTreatWarningsAsErrors() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setTreatWarningsAsErrors
public void setTreatWarningsAsErrors(boolean TreatWarningsAsErrors) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getWarningLevel
public int getWarningLevel() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setWarningLevel
public void setWarningLevel(int WarningLevel) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTempFiles
public TempFileCollection getTempFiles() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeException
-
setTempFiles
public void setTempFiles(TempFileCollection TempFiles) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEmbeddedResources
public StringCollection getEmbeddedResources() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLinkedResources
public StringCollection getLinkedResources() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReferencedAssemblies
public StringCollection getReferencedAssemblies() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCompilerOptions
public java.lang.String getCompilerOptions() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCompilerOptions
public void setCompilerOptions(java.lang.String CompilerOptions) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCoreAssemblyFileName
public java.lang.String getCoreAssemblyFileName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCoreAssemblyFileName
public void setCoreAssemblyFileName(java.lang.String CoreAssemblyFileName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getMainClass
public java.lang.String getMainClass() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMainClass
public void setMainClass(java.lang.String MainClass) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getOutputAssembly
public java.lang.String getOutputAssembly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setOutputAssembly
public void setOutputAssembly(java.lang.String OutputAssembly) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getWin32Resource
public java.lang.String getWin32Resource() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setWin32Resource
public void setWin32Resource(java.lang.String Win32Resource) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-