Additional tests on reflection for Java methods

This commit is contained in:
Alexander Udalov
2015-07-07 23:17:27 +03:00
parent 5962b79126
commit 2492977274
7 changed files with 73 additions and 6 deletions

View File

@@ -0,0 +1,25 @@
import java.util.List;
public class J {
void simple() {}
void objectTypes(
Object o, String s, Object[] oo, String[] ss
) {}
void primitives(
boolean z, char c, byte b, short s, int i, float f, long j, double d
) {}
void primitiveArrays(
boolean[] z, char[] c, byte[] b, short[] s, int[] i, float[] f, long[] j, double[] d
) {}
void multiDimensionalArrays(
int[][][] i, Cloneable[][][][] c
) {}
void wildcards(
List<? extends Number> l, List<? super Cloneable> m
) {}
}