diff options
author | Nicolas Stucki <nicolas.stucki@gmail.com> | 2016-08-26 12:16:45 +0200 |
---|---|---|
committer | Nicolas Stucki <nicolas.stucki@gmail.com> | 2016-08-26 14:27:49 +0200 |
commit | 94ac9e7f2cda9bd371d3017373961a11cad76f47 (patch) | |
tree | ca292bbf9b088a92fa9cba94a9e6ff64f0bb843e /src/scala/compat/java8/JFunction1.java | |
parent | 90c1106d23cdad9a9493d0f63515d700fc007968 (diff) | |
download | dotty-94ac9e7f2cda9bd371d3017373961a11cad76f47.tar.gz dotty-94ac9e7f2cda9bd371d3017373961a11cad76f47.tar.bz2 dotty-94ac9e7f2cda9bd371d3017373961a11cad76f47.zip |
Suppress warnings for JFunction#.java erased specialized methods.
Diffstat (limited to 'src/scala/compat/java8/JFunction1.java')
-rw-r--r-- | src/scala/compat/java8/JFunction1.java | 76 |
1 files changed, 75 insertions, 1 deletions
diff --git a/src/scala/compat/java8/JFunction1.java b/src/scala/compat/java8/JFunction1.java index cbd896282..69176cdea 100644 --- a/src/scala/compat/java8/JFunction1.java +++ b/src/scala/compat/java8/JFunction1.java @@ -11,229 +11,303 @@ public interface JFunction1<T1, R> extends scala.Function1<T1, R> { }; @Override + @SuppressWarnings("unchecked") default <A> scala.Function1<T1, A> andThen(scala.Function1<R, A> g) { return scala.Function1$class.andThen(this, g); } @Override + @SuppressWarnings("unchecked") default <A> scala.Function1<A, R> compose(scala.Function1<A, T1> g) { return scala.Function1$class.compose(this, g); } + @SuppressWarnings("unchecked") default void apply$mcVI$sp(int v1) { apply((T1) ((Integer) v1)); } + @SuppressWarnings("unchecked") default boolean apply$mcZI$sp(int v1) { return (Boolean) apply((T1) ((Integer) v1)); } + @SuppressWarnings("unchecked") default int apply$mcII$sp(int v1) { return (Integer) apply((T1) ((Integer) v1)); } + @SuppressWarnings("unchecked") default float apply$mcFI$sp(int v1) { return (Float) apply((T1) ((Integer) v1)); } + @SuppressWarnings("unchecked") default long apply$mcJI$sp(int v1) { return (Long) apply((T1) ((Integer) v1)); } + @SuppressWarnings("unchecked") default double apply$mcDI$sp(int v1) { return (Double) apply((T1) ((Integer) v1)); } + @SuppressWarnings("unchecked") default void apply$mcVJ$sp(long v1) { apply((T1) ((Long) v1)); } + @SuppressWarnings("unchecked") default boolean apply$mcZJ$sp(long v1) { return (Boolean) apply((T1) ((Long) v1)); } + @SuppressWarnings("unchecked") default int apply$mcIJ$sp(long v1) { return (Integer) apply((T1) ((Long) v1)); } + @SuppressWarnings("unchecked") default float apply$mcFJ$sp(long v1) { return (Float) apply((T1) ((Long) v1)); } + @SuppressWarnings("unchecked") default long apply$mcJJ$sp(long v1) { return (Long) apply((T1) ((Long) v1)); } + @SuppressWarnings("unchecked") default double apply$mcDJ$sp(long v1) { return (Double) apply((T1) ((Long) v1)); } + @SuppressWarnings("unchecked") default void apply$mcVF$sp(float v1) { apply((T1) ((Float) v1)); } + @SuppressWarnings("unchecked") default boolean apply$mcZF$sp(float v1) { return (Boolean) apply((T1) ((Float) v1)); } + @SuppressWarnings("unchecked") default int apply$mcIF$sp(float v1) { return (Integer) apply((T1) ((Float) v1)); } + @SuppressWarnings("unchecked") default float apply$mcFF$sp(float v1) { return (Float) apply((T1) ((Float) v1)); } + @SuppressWarnings("unchecked") default long apply$mcJF$sp(float v1) { return (Long) apply((T1) ((Float) v1)); } + @SuppressWarnings("unchecked") default double apply$mcDF$sp(float v1) { return (Double) apply((T1) ((Float) v1)); } + @SuppressWarnings("unchecked") default void apply$mcVD$sp(double v1) { apply((T1) ((Double) v1)); } + @SuppressWarnings("unchecked") default boolean apply$mcZD$sp(double v1) { return (Boolean) apply((T1) ((Double) v1)); } + @SuppressWarnings("unchecked") default int apply$mcID$sp(double v1) { return (Integer) apply((T1) ((Double) v1)); } + @SuppressWarnings("unchecked") default float apply$mcFD$sp(double v1) { return (Float) apply((T1) ((Double) v1)); } + @SuppressWarnings("unchecked") default long apply$mcJD$sp(double v1) { return (Long) apply((T1) ((Double) v1)); } + @SuppressWarnings("unchecked") default double apply$mcDD$sp(double v1) { return (Double) apply((T1) ((Double) v1)); } - + + @SuppressWarnings("unchecked") default scala.Function1 compose$mcVI$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcZI$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcII$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcFI$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcJI$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcDI$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcVJ$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcZJ$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcIJ$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcFJ$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcJJ$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcDJ$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcVF$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcZF$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcIF$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcFF$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcJF$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcDF$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcVD$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcZD$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcID$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcFD$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcJD$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 compose$mcDD$sp(scala.Function1 g) { return compose(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcVI$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcZI$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcII$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcFI$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcJI$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcDI$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcVJ$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcZJ$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcIJ$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcFJ$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcJJ$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcDJ$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcVF$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcZF$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcIF$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcFF$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcJF$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcDF$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcVD$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcZD$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcID$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcFD$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcJD$sp(scala.Function1 g) { return andThen(g); } + @SuppressWarnings("unchecked") default scala.Function1 andThen$mcDD$sp(scala.Function1 g) { return andThen(g); } |