public final class Utils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkNoParams(java.lang.reflect.Method method)
Checks that method has no parameters, otherwise throws exception.
|
static boolean |
isPackageValid(java.lang.Class type)
Important check, because JDK proxies of public interfaces have no package
(thanks to @binkley https://github.com/99soft/lifegycle/pull/5).
|
public static boolean isPackageValid(java.lang.Class type)
type - class type to checkpublic static void checkNoParams(java.lang.reflect.Method method)
method - method to check