|
@@ -11,10 +11,4 @@ object ReflectUtils {
|
|
.getConstructors.head.newInstance(initargs.asInstanceOf[Seq[Object]]: _*)
|
|
.getConstructors.head.newInstance(initargs.asInstanceOf[Seq[Object]]: _*)
|
|
.asInstanceOf[T]
|
|
.asInstanceOf[T]
|
|
}
|
|
}
|
|
-
|
|
|
|
- def main(args: Array[String]): Unit = {
|
|
|
|
- val handle = getClazz[ {def p()}
|
|
|
|
- ]("com.winhc.bigdata.spark.test.XjkTest")
|
|
|
|
- handle.p
|
|
|
|
- }
|
|
|
|
}
|
|
}
|