File tree Expand file tree Collapse file tree
Sources/SwiftJavaDocumentation/Documentation.docc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -434,6 +434,16 @@ Example:
434434
435435Compile for the specified Java SE release.
436436
437+ ` JavaVersion ` is an integer identifying a Java SE release, in the same
438+ shape as `` JavaSourceLevel `` . Supported values:
439+
440+ - ` 17 `
441+ - ` 18 `
442+ - ` 21 `
443+ - ` 22 `
444+ - ` 24 `
445+ - ` 25 `
446+
437447---
438448
439449#### targetCompatibility
@@ -442,6 +452,16 @@ Compile for the specified Java SE release.
442452
443453Generate class files suitable for the specified Java SE release.
444454
455+ ` JavaVersion ` is an integer identifying a Java SE release, in the same
456+ shape as `` JavaSourceLevel `` . Supported values:
457+
458+ - ` 17 `
459+ - ` 18 `
460+ - ` 21 `
461+ - ` 22 `
462+ - ` 24 `
463+ - ` 25 `
464+
445465---
446466
447467#### javaFilterInclude
Original file line number Diff line number Diff line change @@ -372,31 +372,6 @@ struct AnalysisResultSuite {
372372 #expect ( result . extractedTypes [ " OnlyWhenImportable " ] == nil )
373373 }
374374
375- @ Test func customOperator ( ) throws {
376- var config = DefaultSwiftExtractConfiguration ( )
377- config . availableImportModules = [ " MadeUpModule " ]
378-
379- let result = try analyze (
380- sources : [
381- (
382- " /fake/Source.swift " ,
383- """
384- struct Box {
385- static prefix func +++ (other: inout Box) -> Box {
386- return other
387- }
388- }
389- """
390- )
391- ] ,
392- moduleName : " Aquarium " ,
393- config : config
394- )
395-
396- #expect ( result . extractedTypes [ " AlwaysHere " ] != nil )
397- #expect ( result . extractedTypes [ " OnlyWhenImportable " ] != nil )
398- }
399-
400375 /// Adding the module to `availableImportModules` activates the
401376 /// `#if canImport(<module>)` clause so its declarations are extracted.
402377 @ Test func availableImportModulesActivatesCanImportClause ( ) throws {
You can’t perform that action at this time.
0 commit comments