|
|
@@ -4,28 +4,27 @@
|
|
|
* @license WTFPL
|
|
|
* @url http://ranides.net/projects/assira
|
|
|
*/
|
|
|
-package net.ranides.assira.reflection.query;
|
|
|
+package net.ranides.assira.reflection.impl;
|
|
|
|
|
|
import java.lang.reflect.Method;
|
|
|
import java.util.Optional;
|
|
|
-import net.ranides.assira.reflection.impl.CPInspector;
|
|
|
import net.ranides.assira.reflection.IMethod;
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
* @author Ranides Atterwim <ranides@gmail.com>
|
|
|
*/
|
|
|
-public final class MethodInspector {
|
|
|
+public final class FMethod {
|
|
|
|
|
|
- private MethodInspector() {
|
|
|
+ private FMethod() {
|
|
|
/* utility class */
|
|
|
}
|
|
|
|
|
|
- public static IMethod reflective(Method method) {
|
|
|
+ public static IMethod typeinfo(Method method) {
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
}
|
|
|
|
|
|
- public static IMethod asm(Method method) {
|
|
|
+ public static IMethod codeinfo(Method method) {
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
}
|
|
|
|
|
|
@@ -67,7 +66,6 @@ public final class MethodInspector {
|
|
|
if( !method.isPresent() ) {
|
|
|
throw new IllegalArgumentException(type + " is not lambda");
|
|
|
}
|
|
|
- return reflective(method.get());
|
|
|
+ return codeinfo(method.get());
|
|
|
}
|
|
|
-
|
|
|
}
|