public class Misc extends Object
| Constructor and Description |
|---|
Misc() |
| Modifier and Type | Method and Description |
|---|---|
static void |
callAnnotatedMethod(Class<? extends Annotation> annotation,
Object o,
Object... arguments) |
static void |
copy(InputStream in,
BinStore bc) |
static Class<?> |
genericClass(Type genericType)
there is an interesting project here https://github.com/jhalterman/typetools for generic type discovery
|
static PropertyDescriptor |
getPropertyDescriptor(Class<?> klass,
String name) |
static int |
length(Collection<?> coll) |
static int |
length(Object[] data) |
static boolean |
match(Object o1,
Object o2) |
public static int length(Collection<?> coll)
public static int length(Object[] data)
public static void callAnnotatedMethod(Class<? extends Annotation> annotation, Object o, Object... arguments)
public static void copy(InputStream in, BinStore bc)
public static Class<?> genericClass(Type genericType) throws ClassNotFoundException
genericType - ClassNotFoundExceptionpublic static PropertyDescriptor getPropertyDescriptor(Class<?> klass, String name)
Copyright © 2019. All rights reserved.