public class Util extends Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static String |
asCanonicalName(org.objectweb.asm.Type t) |
static Class |
convertType(org.objectweb.asm.Type t) |
static Class[] |
convertTypes(String params) |
static Class[] |
convertTypes(org.objectweb.asm.Type[] types) |
static boolean |
isEnvEntryType(Class type) |
static boolean |
isEnvEntryType(String desc) |
static boolean |
isServletType(Class c)
Check if the presented method belongs to a class that is one
of the classes with which a servlet container should be concerned.
|
static String |
normalizePattern(String p) |
static boolean |
supportsPostConstructPreDestroy(Class c) |
static boolean |
supportsResourceInjection(Class c) |
public static boolean isServletType(Class c)
c
- Servlet
,
Filter
,
ServletContextListener
,
ServletContextAttributeListener
,
ServletRequestListener
,
ServletRequestAttributeListener
,
HttpSessionListener
,
HttpSessionAttributeListener
)public static boolean supportsResourceInjection(Class c)
public static boolean supportsPostConstructPreDestroy(Class c)
public static boolean isEnvEntryType(Class type)
public static boolean isEnvEntryType(String desc)
public static Class[] convertTypes(org.objectweb.asm.Type[] types) throws Exception
Exception
public static Class convertType(org.objectweb.asm.Type t) throws Exception
Exception
public static String asCanonicalName(org.objectweb.asm.Type t)
Copyright © 1995-2015 Webtide. All Rights Reserved.