org.bridj.util
Class Utils
java.lang.Object
org.bridj.util.Utils
public class Utils
- extends Object
Miscellaneous utility methods.
- Author:
- ochafik
Constructor Summary |
Utils()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
getEnclosedConstructorParametersOffset
public static int getEnclosedConstructorParametersOffset(Constructor c)
isDirect
public static boolean isDirect(Buffer b)
isSignedIntegral
public static boolean isSignedIntegral(Type tpe)
toString
public static String toString(Type t)
toString
public static String toString(Throwable th)
eq
public static boolean eq(Object a,
Object b)
getClass
public static <T> Class<T> getClass(Type type)
getParent
public static Type getParent(Type type)
getClasses
public static Class[] getClasses(Type[] types)
getUniqueParameterizedTypeParameter
public static Type getUniqueParameterizedTypeParameter(Type type)
Copyright © 2009-2012. All Rights Reserved.