| java.lang.Object org.objectweb.speedo.generation.enhancer.common.Util
Util | public class Util (Code) | | Utility class.
Adapted from isPersistentType and isPersitentCapable in EnhancerTool.
|
getClassName | public static String getClassName(Type type)(Code) | | |
isPersistentCapable | public static SpeedoClass isPersistentCapable(String className, Collection xml)(Code) | | Tests whether a class exists in the object model.
Parameters: className - the complete name of the class Parameters: xml - a collection of SpeedoXMLDescriptor null if the class is not known as a persistent capable class |
isPersistentType | public static boolean isPersistentType(String desc, Collection xml)(Code) | | Tests whether a specific Type can be defined persistent.
See Also: Util.isPersistentCapable Parameters: desc - the descriptor of the type that is tested Parameters: xml - a collection of SpeedoXMLDescriptor true is the type can be defaulted as persistent, false either |
visitIntConstant | public static void visitIntConstant(CodeVisitor cv, int value)(Code) | | |
visitLongConstant | public static void visitLongConstant(CodeVisitor cv, long value)(Code) | | |
|
|