-
-
Save DmytroMitin/7d7e67274061f90572d63672e67e09e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbt.version = 1.2.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name := "scalajava" | |
version := "0.1" | |
scalaVersion := "2.12.8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.sun.org.apache.xpath.internal.XPathContext | |
class CallImpl extends CallInterface { | |
// override def call(context: String, arguments: Array[Sequence[_ <: Item[_ <: Item[_]]]]): Sequence[_ <: Item[_ <: Item[_]]] = ??? | |
override def call(context: XPathContext, arguments: Array[Sequence[_ <: Item[_]]]): Sequence[_] = ??? | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.sun.org.apache.xpath.internal.XPathContext; | |
public interface CallInterface { | |
Sequence<?> call(XPathContext context, Sequence[] arguments); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dmitin@dmitin-HP-Pavilion-Laptop:/media/data/Projects/scalajava$ sbt compile | |
[info] Loading settings for project global-plugins from idea.sbt ... | |
[info] Loading global plugins from /home/dmitin/.sbt/1.0/plugins | |
[info] Loading project definition from /media/data/Projects/scalajava/project | |
[info] Loading settings for project scalajava from build.sbt ... | |
[info] Set current project to scalajava (in build file:/media/data/Projects/scalajava/) | |
[info] Executing in batch mode. For better performance use sbt's shell | |
[info] Compiling 1 Scala source and 3 Java sources to /media/data/Projects/scalajava/target/scala-2.12/classes ... | |
[warn] /media/data/Projects/scalajava/src/main/java/CallInterface.java:1:1: com.sun.org.apache.xpath.internal.XPathContext is internal proprietary API and may be removed in a future release | |
[warn] import com.sun.org.apache.xpath.internal.XPathContext; | |
[warn] /media/data/Projects/scalajava/src/main/java/CallInterface.java:4:1: com.sun.org.apache.xpath.internal.XPathContext is internal proprietary API and may be removed in a future release | |
[warn] Sequence<?> call(XPathContext context, Sequence[] arguments); | |
[info] Done compiling. | |
[success] Total time: 3 s, completed 05.04.2019 1:24:42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Item<T extends Item<?>> { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Sequence<T extends Item<?>> { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment