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.String
assemblyFullName
Fully assembly qualified name: System.CodeDom, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.String
assemblyShortName
Assembly name: System.CodeDomstatic java.lang.String
className
Qualified class name: System.CodeDom.Compiler.CompilerParametersstatic JCType
classType
The 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 CompilerParameters
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoCompilerParameters
, a cast assert is made to check if types are compatible.java.lang.String
getCompilerOptions()
java.lang.String
getCoreAssemblyFileName()
StringCollection
getEmbeddedResources()
boolean
getGenerateExecutable()
boolean
getGenerateInMemory()
boolean
getIncludeDebugInformation()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeStringCollection
getLinkedResources()
java.lang.String
getMainClass()
java.lang.String
getOutputAssembly()
StringCollection
getReferencedAssemblies()
TempFileCollection
getTempFiles()
boolean
getTreatWarningsAsErrors()
int
getWarningLevel()
java.lang.String
getWin32Resource()
void
setCompilerOptions(java.lang.String CompilerOptions)
void
setCoreAssemblyFileName(java.lang.String CoreAssemblyFileName)
void
setGenerateExecutable(boolean GenerateExecutable)
void
setGenerateInMemory(boolean GenerateInMemory)
void
setIncludeDebugInformation(boolean IncludeDebugInformation)
void
setJCOInstance(JCObject instance)
void
setMainClass(java.lang.String MainClass)
void
setOutputAssembly(java.lang.String OutputAssembly)
void
setTempFiles(TempFileCollection TempFiles)
void
setTreatWarningsAsErrors(boolean TreatWarningsAsErrors)
void
setWarningLevel(int WarningLevel)
void
setWin32Resource(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.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
CompilerParameters
public CompilerParameters() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
IndexOutOfRangeException
RankException
ArgumentException
ArrayTypeMismatchException
-
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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static CompilerParameters cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoCompilerParameters
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
CompilerParameters
instance- 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.Throwable
ArgumentOutOfRangeException
ArgumentException
NotSupportedException
PlatformNotSupportedException
IndexOutOfRangeException
-
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
-
-