org.ops4j.pax.reflector.spi
Class Util
java.lang.Object
org.ops4j.pax.reflector.spi.Util
public final class Util
- extends Object
Constructor Summary |
Util()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
convPrimitive
public static Object convPrimitive(Class type,
String value)
setPrimitive
public static void setPrimitive(Field fld,
Object obj,
String value)
throws IllegalAccessException
- Throws:
IllegalAccessException
expandNativeClass
public static Class expandNativeClass(Class nativeClass)
isPrimitive
public static boolean isPrimitive(Object obj)
findField
public static Field findField(Object container,
String memberName)
throws NoSuchFieldException
- Throws:
NoSuchFieldException
findPublicMethod
public static Method findPublicMethod(Object container,
String methodName)
findPublicMethod
public static Method findPublicMethod(Class cls,
String methodName)
matchField
public static boolean matchField(String programmatic,
String global)
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.