org.apache.felix.scrplugin.tags
Class ClassUtil
java.lang.Object
org.apache.felix.scrplugin.tags.ClassUtil
public class ClassUtil
- extends Object
Utility class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classLoader
public static ClassLoader classLoader
ClassUtil
public ClassUtil()
getInitializationExpression
public static String[] getInitializationExpression(Class<?> clazz,
String fieldName)
- Try to get the initial value of a static field
- Parameters:
clazz
- The class.fieldName
- The name of the field.
- Returns:
- The initial value or null.
getClass
public static Class<?> getClass(String name)
- Get the compiled class.
Copyright © 2011 Apache Software Foundation. All Rights Reserved.