File tree Expand file tree Collapse file tree
src/main/java/org/scijava/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1295,6 +1295,29 @@ public static Type parameterizeRaw(Class<?> rawType) {
12951295 return Types .parameterize (rawType , typeParams );
12961296 }
12971297
1298+ /**
1299+ * See {@link GenericTypeReflector#getExactParameterTypes(Method, Type)}
1300+ *
1301+ * @param m
1302+ * @param type
1303+ * @return
1304+ */
1305+ public static Type [] getExactParameterTypes (final Method m ,
1306+ final Type type ){
1307+ return GenericTypeReflector .getExactParameterTypes (m , type );
1308+ }
1309+
1310+ /**
1311+ * See {@link GenericTypeReflector#getExactReturnType(Method, Type)}
1312+ *
1313+ * @param m
1314+ * @param type
1315+ * @return
1316+ */
1317+ public static Type getExactReturnType (final Method m , final Type type ) {
1318+ return GenericTypeReflector .getExactReturnType (m , type );
1319+ }
1320+
12981321 // -- Helper methods --
12991322
13001323 private static Type [] filterIndices (Type [] types , List <Integer > indices ) {
You can’t perform that action at this time.
0 commit comments