IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Tools.Importer.ImportOptions Class Reference
Inheritance diagram for IKVM.Tools.Importer.ImportOptions:

Public Member Functions

ImportOptions Clone ()
 

Properties

FileInfo[] Inputs = [] [get, set]
 Input files to be compiled.
 
FileInfo? Output [get, set]
 Path of the output assembly.
 
string? AssemblyName [get, set]
 Name of the output assembly.
 
Version? Version [get, set]
 Version of the output assembly.
 
ImportTarget Target = ImportTarget.Unspecified [get, set]
 Target to build.
 
ImportPlatform Platform = ImportPlatform.Unspecified [get, set]
 Platform to build.
 
FileInfo? KeyFile [get, set]
 Path to the key to use for strong name signing.
 
string? Key [get, set]
 Identity of the key to use for signing.
 
bool DelaySign [get, set]
 Whether the assembly should be delay signed.
 
string[] References = [] [get, set]
 Set of paths or names to assemblies to add as references.
 
string[] Recurse = [] [get, set]
 Directories to recurse into to collect files.
 
FileInfo? Exclude [get, set]
 Path to file containing exclude expressions.
 
VersionFileVersion [get, set]
 File version to configure on the assembly.
 
FileInfo? Win32Icon [get, set]
 Win32 icon to configure on the assembly.
 
FileInfo? Win32Manifest [get, set]
 Win32 manifest to embed within the assembly.
 
IReadOnlyDictionary< string, FileInfo > Resources = ImmutableDictionary<string, FileInfo>.Empty [get, set]
 Set of resources to embed within the assembly.
 
IReadOnlyDictionary< string, FileInfo > ExternalResources = ImmutableDictionary<string, FileInfo>.Empty [get, set]
 Set of external resource to add to the assembly.
 
bool CompressResources = false [get, set]
 Whether resources should be compressed.
 
ImportDebug Debug = ImportDebug.None [get, set]
 How debug symbols should be produced along with the assembly.
 
bool NoAutoSerialization = false [get, set]
 Whether to disable auto generation of serialization capabilities.
 
bool NoGlobbing = false [get, set]
 Disables globbing of Java command line arguments in the generated assembly.
 
bool NoJNI = false [get, set]
 Disables the usage of JNI in the generated assembly.
 
bool RemoveUnusedPrivateFields = false [get, set]
 Enables removing unused fields from Java classes.
 
string?[] EnableAssertions [get, set]
 If null, no assertions are enabled. If an empty array, all assertions are enabled. Else only assertions of the specified granularity are enabled.
 
string?[] DisableAssertions [get, set]
 If null, no assertions are disables. If an empty array, all assertions are disabled. Else only assertions of the specified granularity are disabled.
 
bool RemoveAssertions = false [get, set]
 Removes assertions.
 
bool StrictFinalFieldSemantics = false [get, set]
 
Diagnostic?[] NoWarn [get, set]
 List of warning Diagnostic types that should not issue warnings.
 
Diagnostic?[] WarnAsError [get, set]
 List of warning Diagnostic types that should be elevated to an error.
 
string? Main [get, set]
 Name of the main entry point class.
 
DirectoryInfo? SourcePath [get, set]
 Root of the original source file path for debugging information.
 
ImportApartment Apartment = ImportApartment.Unspecified [get, set]
 
IReadOnlyDictionary< string, string > Properties = ImmutableDictionary<string, string>.Empty [get, set]
 Properties to be set in the JVM upon entry of the executable assembly.
 
bool NoStackTraceInfo [get, set]
 
string[] PrivatePackages = [] [get, set]
 
string[] PublicPackages = [] [get, set]
 
string? ClassLoader [get, set]
 Set the name of a custom class loader for this assembly.
 
bool SharedClassLoader = false [get, set]
 Enable the shared class loader.
 
string? BaseAddress [get, set]
 
string? FileAlign [get, set]
 
bool NoPeerCrossReference = false [get, set]
 
bool NoStdLib = true [get, set]
 Disables lookup of the standard library. This option is irrelevent since lookup of the standard library is unsupported.
 
DirectoryInfo[] Libraries = [] [get, set]
 
bool HighEntropyVA = false [get, set]
 
bool Static = false [get, set]
 Enable static mode. This prevents generation of dynamic invocation delegates for missing classes.
 
FileInfo[] AssemblyAttributes = [] [get, set]
 
bool WarningLevel4Option = false [get, set]
 
bool NoParameterReflection = false [get, set]
 
FileInfo? Remap [get, set]
 
bool Time = false [get, set]
 
string[] Proxies = [] [get, set]
 
bool AllowNonVirtualCalls = false [get, set]
 
bool NoJarStubs = false [get, set]
 
FileInfo? Runtime [get, set]
 Path to the IKVM.Runtime assembly.
 
bool Bootstrap = false [get, set]
 Hidden option to enable bootstrap mode for compiling the BCL.
 
string? Log [get, set]
 
bool Optimize = false [get, set]
 Enables optimizations.
 
bool Deterministic = true [get, set]
 Enables a deterministic assembly.
 
ImportOptions[] Nested = [] [get, set]
 Set of nested options when compiling multiple assemblies using the shared class loader.
 

Detailed Description

Definition at line 13 of file ImportOptions.cs.

Member Function Documentation

◆ Clone()

ImportOptions IKVM.Tools.Importer.ImportOptions.Clone ( )

Definition at line 255 of file ImportOptions.cs.

256 {
257 return (ImportOptions)MemberwiseClone();
258 }

Property Documentation

◆ AllowNonVirtualCalls

bool IKVM.Tools.Importer.ImportOptions.AllowNonVirtualCalls = false
getset

Definition at line 223 of file ImportOptions.cs.

223{ get; set; } = false;

◆ Apartment

ImportApartment IKVM.Tools.Importer.ImportOptions.Apartment = ImportApartment.Unspecified
getset

Definition at line 168 of file ImportOptions.cs.

168{ get; set; } = ImportApartment.Unspecified;

◆ AssemblyAttributes

FileInfo [] IKVM.Tools.Importer.ImportOptions.AssemblyAttributes = []
getset

Definition at line 211 of file ImportOptions.cs.

211{ get; set; } = [];

◆ AssemblyName

string? IKVM.Tools.Importer.ImportOptions.AssemblyName
getset

Name of the output assembly.

Definition at line 29 of file ImportOptions.cs.

29{ get; set; }

◆ BaseAddress

string? IKVM.Tools.Importer.ImportOptions.BaseAddress
getset

Definition at line 191 of file ImportOptions.cs.

191{ get; set; }

◆ Bootstrap

bool IKVM.Tools.Importer.ImportOptions.Bootstrap = false
getset

Hidden option to enable bootstrap mode for compiling the BCL.

Definition at line 235 of file ImportOptions.cs.

235{ get; set; } = false;

◆ ClassLoader

string? IKVM.Tools.Importer.ImportOptions.ClassLoader
getset

Set the name of a custom class loader for this assembly.

Definition at line 184 of file ImportOptions.cs.

184{ get; set; }

◆ CompressResources

bool IKVM.Tools.Importer.ImportOptions.CompressResources = false
getset

Whether resources should be compressed.

Definition at line 104 of file ImportOptions.cs.

104{ get; set; } = false;

◆ Debug

ImportDebug IKVM.Tools.Importer.ImportOptions.Debug = ImportDebug.None
getset

How debug symbols should be produced along with the assembly.

Definition at line 109 of file ImportOptions.cs.

109{ get; set; } = ImportDebug.None;

◆ DelaySign

bool IKVM.Tools.Importer.ImportOptions.DelaySign
getset

Whether the assembly should be delay signed.

Definition at line 59 of file ImportOptions.cs.

59{ get; set; }

◆ Deterministic

bool IKVM.Tools.Importer.ImportOptions.Deterministic = true
getset

Enables a deterministic assembly.

Definition at line 247 of file ImportOptions.cs.

247{ get; set; } = true;

◆ DisableAssertions

string? [] IKVM.Tools.Importer.ImportOptions.DisableAssertions
getset

If null, no assertions are disables. If an empty array, all assertions are disabled. Else only assertions of the specified granularity are disabled.

Definition at line 139 of file ImportOptions.cs.

139{ get; set; }

◆ EnableAssertions

string? [] IKVM.Tools.Importer.ImportOptions.EnableAssertions
getset

If null, no assertions are enabled. If an empty array, all assertions are enabled. Else only assertions of the specified granularity are enabled.

Definition at line 134 of file ImportOptions.cs.

134{ get; set; }

◆ Exclude

FileInfo? IKVM.Tools.Importer.ImportOptions.Exclude
getset

Path to file containing exclude expressions.

Definition at line 74 of file ImportOptions.cs.

74{ get; set; }

◆ ExternalResources

IReadOnlyDictionary<string, FileInfo> IKVM.Tools.Importer.ImportOptions.ExternalResources = ImmutableDictionary<string, FileInfo>.Empty
getset

Set of external resource to add to the assembly.

Definition at line 99 of file ImportOptions.cs.

99{ get; set; } = ImmutableDictionary<string, FileInfo>.Empty;

◆ FileAlign

string? IKVM.Tools.Importer.ImportOptions.FileAlign
getset

Definition at line 193 of file ImportOptions.cs.

193{ get; set; }

◆ FileVersion

Version? IKVM.Tools.Importer.ImportOptions.FileVersion
getset

File version to configure on the assembly.

Definition at line 79 of file ImportOptions.cs.

79{ get; set; }

◆ HighEntropyVA

bool IKVM.Tools.Importer.ImportOptions.HighEntropyVA = false
getset

Definition at line 204 of file ImportOptions.cs.

204{ get; set; } = false;

◆ Inputs

FileInfo [] IKVM.Tools.Importer.ImportOptions.Inputs = []
getset

Input files to be compiled.

Definition at line 19 of file ImportOptions.cs.

19{ get; set; } = [];

◆ Key

string? IKVM.Tools.Importer.ImportOptions.Key
getset

Identity of the key to use for signing.

Definition at line 54 of file ImportOptions.cs.

54{ get; set; }

◆ KeyFile

FileInfo? IKVM.Tools.Importer.ImportOptions.KeyFile
getset

Path to the key to use for strong name signing.

Definition at line 49 of file ImportOptions.cs.

49{ get; set; }

◆ Libraries

DirectoryInfo [] IKVM.Tools.Importer.ImportOptions.Libraries = []
getset

Definition at line 202 of file ImportOptions.cs.

202{ get; set; } = [];

◆ Log

string? IKVM.Tools.Importer.ImportOptions.Log
getset

Definition at line 237 of file ImportOptions.cs.

237{ get; set; }

◆ Main

string? IKVM.Tools.Importer.ImportOptions.Main
getset

Name of the main entry point class.

Definition at line 161 of file ImportOptions.cs.

161{ get; set; }

◆ Nested

ImportOptions [] IKVM.Tools.Importer.ImportOptions.Nested = []
getset

Set of nested options when compiling multiple assemblies using the shared class loader.

Definition at line 252 of file ImportOptions.cs.

252{ get; set; } = [];

◆ NoAutoSerialization

bool IKVM.Tools.Importer.ImportOptions.NoAutoSerialization = false
getset

Whether to disable auto generation of serialization capabilities.

Definition at line 114 of file ImportOptions.cs.

114{ get; set; } = false;

◆ NoGlobbing

bool IKVM.Tools.Importer.ImportOptions.NoGlobbing = false
getset

Disables globbing of Java command line arguments in the generated assembly.

Definition at line 119 of file ImportOptions.cs.

119{ get; set; } = false;

◆ NoJarStubs

bool IKVM.Tools.Importer.ImportOptions.NoJarStubs = false
getset

Definition at line 225 of file ImportOptions.cs.

225{ get; set; } = false;

◆ NoJNI

bool IKVM.Tools.Importer.ImportOptions.NoJNI = false
getset

Disables the usage of JNI in the generated assembly.

Definition at line 124 of file ImportOptions.cs.

124{ get; set; } = false;

◆ NoParameterReflection

bool IKVM.Tools.Importer.ImportOptions.NoParameterReflection = false
getset

Definition at line 215 of file ImportOptions.cs.

215{ get; set; } = false;

◆ NoPeerCrossReference

bool IKVM.Tools.Importer.ImportOptions.NoPeerCrossReference = false
getset

Definition at line 195 of file ImportOptions.cs.

195{ get; set; } = false;

◆ NoStackTraceInfo

bool IKVM.Tools.Importer.ImportOptions.NoStackTraceInfo
getset

Definition at line 175 of file ImportOptions.cs.

175{ get; set; }

◆ NoStdLib

bool IKVM.Tools.Importer.ImportOptions.NoStdLib = true
getset

Disables lookup of the standard library. This option is irrelevent since lookup of the standard library is unsupported.

Definition at line 200 of file ImportOptions.cs.

200{ get; set; } = true;

◆ NoWarn

Diagnostic? [] IKVM.Tools.Importer.ImportOptions.NoWarn
getset

List of warning Diagnostic types that should not issue warnings.

Definition at line 151 of file ImportOptions.cs.

151{ get; set; }

◆ Optimize

bool IKVM.Tools.Importer.ImportOptions.Optimize = false
getset

Enables optimizations.

Definition at line 242 of file ImportOptions.cs.

242{ get; set; } = false;

◆ Output

FileInfo? IKVM.Tools.Importer.ImportOptions.Output
getset

Path of the output assembly.

Definition at line 24 of file ImportOptions.cs.

24{ get; set; }

◆ Platform

ImportPlatform IKVM.Tools.Importer.ImportOptions.Platform = ImportPlatform.Unspecified
getset

Platform to build.

Definition at line 44 of file ImportOptions.cs.

44{ get; set; } = ImportPlatform.Unspecified;

◆ PrivatePackages

string [] IKVM.Tools.Importer.ImportOptions.PrivatePackages = []
getset

Definition at line 177 of file ImportOptions.cs.

177{ get; set; } = [];

◆ Properties

IReadOnlyDictionary<string, string> IKVM.Tools.Importer.ImportOptions.Properties = ImmutableDictionary<string, string>.Empty
getset

Properties to be set in the JVM upon entry of the executable assembly.

Definition at line 173 of file ImportOptions.cs.

173{ get; set; } = ImmutableDictionary<string, string>.Empty;

◆ Proxies

string [] IKVM.Tools.Importer.ImportOptions.Proxies = []
getset

Definition at line 221 of file ImportOptions.cs.

221{ get; set; } = [];

◆ PublicPackages

string [] IKVM.Tools.Importer.ImportOptions.PublicPackages = []
getset

Definition at line 179 of file ImportOptions.cs.

179{ get; set; } = [];

◆ Recurse

string [] IKVM.Tools.Importer.ImportOptions.Recurse = []
getset

Directories to recurse into to collect files.

Definition at line 69 of file ImportOptions.cs.

69{ get; set; } = [];

◆ References

string [] IKVM.Tools.Importer.ImportOptions.References = []
getset

Set of paths or names to assemblies to add as references.

Definition at line 64 of file ImportOptions.cs.

64{ get; set; } = [];

◆ Remap

FileInfo? IKVM.Tools.Importer.ImportOptions.Remap
getset

Definition at line 217 of file ImportOptions.cs.

217{ get; set; }

◆ RemoveAssertions

bool IKVM.Tools.Importer.ImportOptions.RemoveAssertions = false
getset

Removes assertions.

Definition at line 144 of file ImportOptions.cs.

144{ get; set; } = false;

◆ RemoveUnusedPrivateFields

bool IKVM.Tools.Importer.ImportOptions.RemoveUnusedPrivateFields = false
getset

Enables removing unused fields from Java classes.

Definition at line 129 of file ImportOptions.cs.

129{ get; set; } = false;

◆ Resources

IReadOnlyDictionary<string, FileInfo> IKVM.Tools.Importer.ImportOptions.Resources = ImmutableDictionary<string, FileInfo>.Empty
getset

Set of resources to embed within the assembly.

Definition at line 94 of file ImportOptions.cs.

94{ get; set; } = ImmutableDictionary<string, FileInfo>.Empty;

◆ Runtime

FileInfo? IKVM.Tools.Importer.ImportOptions.Runtime
getset

Path to the IKVM.Runtime assembly.

Definition at line 230 of file ImportOptions.cs.

230{ get; set; }

◆ SharedClassLoader

bool IKVM.Tools.Importer.ImportOptions.SharedClassLoader = false
getset

Enable the shared class loader.

Definition at line 189 of file ImportOptions.cs.

189{ get; set; } = false;

◆ SourcePath

DirectoryInfo? IKVM.Tools.Importer.ImportOptions.SourcePath
getset

Root of the original source file path for debugging information.

Definition at line 166 of file ImportOptions.cs.

166{ get; set; }

◆ Static

bool IKVM.Tools.Importer.ImportOptions.Static = false
getset

Enable static mode. This prevents generation of dynamic invocation delegates for missing classes.

Definition at line 209 of file ImportOptions.cs.

209{ get; set; } = false;

◆ StrictFinalFieldSemantics

bool IKVM.Tools.Importer.ImportOptions.StrictFinalFieldSemantics = false
getset

Definition at line 146 of file ImportOptions.cs.

146{ get; set; } = false;

◆ Target

ImportTarget IKVM.Tools.Importer.ImportOptions.Target = ImportTarget.Unspecified
getset

Target to build.

Definition at line 39 of file ImportOptions.cs.

39{ get; set; } = ImportTarget.Unspecified;

◆ Time

bool IKVM.Tools.Importer.ImportOptions.Time = false
getset

Definition at line 219 of file ImportOptions.cs.

219{ get; set; } = false;

◆ Version

Version? IKVM.Tools.Importer.ImportOptions.Version
getset

Version of the output assembly.

Definition at line 34 of file ImportOptions.cs.

34{ get; set; }

◆ WarnAsError

Diagnostic? [] IKVM.Tools.Importer.ImportOptions.WarnAsError
getset

List of warning Diagnostic types that should be elevated to an error.

Definition at line 156 of file ImportOptions.cs.

156{ get; set; }

◆ WarningLevel4Option

bool IKVM.Tools.Importer.ImportOptions.WarningLevel4Option = false
getset

Definition at line 213 of file ImportOptions.cs.

213{ get; set; } = false;

◆ Win32Icon

FileInfo? IKVM.Tools.Importer.ImportOptions.Win32Icon
getset

Win32 icon to configure on the assembly.

Definition at line 84 of file ImportOptions.cs.

84{ get; set; }

◆ Win32Manifest

FileInfo? IKVM.Tools.Importer.ImportOptions.Win32Manifest
getset

Win32 manifest to embed within the assembly.

Definition at line 89 of file ImportOptions.cs.

89{ get; set; }

The documentation for this class was generated from the following file: