Package org.eclipse.jetty.annotations
Class Util
- java.lang.Object
-
- org.eclipse.jetty.annotations.Util
-
public class Util extends Object
Deprecated.and replaced by extra methods inResourceAnnotationHandler
,PreDestroyAnnotationHandler
,PostConstructAnnotationHandler
andServletPathSpec
Annotation Processing Utilities
-
-
Constructor Summary
Constructors Constructor Description Util()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
asCanonicalName(org.objectweb.asm.Type t)
Deprecated.static Class
convertType(org.objectweb.asm.Type t)
Deprecated.static Class[]
convertTypes(String params)
Deprecated.static Class[]
convertTypes(org.objectweb.asm.Type[] types)
Deprecated.static boolean
isEnvEntryType(Class type)
Deprecated.static boolean
isEnvEntryType(String desc)
Deprecated.static boolean
isServletType(Class c)
Deprecated.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)
Deprecated.static boolean
supportsPostConstructPreDestroy(Class c)
Deprecated.static boolean
supportsResourceInjection(Class c)
Deprecated.
-
-
-
Method Detail
-
isServletType
public static boolean isServletType(Class c)
Deprecated.Check if the presented method belongs to a class that is one of the classes with which a servlet container should be concerned.- Parameters:
c
- the class- Returns:
- true if class is a type of one of the following:
(
Servlet
,Filter
,ServletContextListener
,ServletContextAttributeListener
,ServletRequestListener
,ServletRequestAttributeListener
,HttpSessionListener
,HttpSessionAttributeListener
)
-
supportsResourceInjection
public static boolean supportsResourceInjection(Class c)
Deprecated.
-
supportsPostConstructPreDestroy
public static boolean supportsPostConstructPreDestroy(Class c)
Deprecated.
-
isEnvEntryType
public static boolean isEnvEntryType(Class type)
Deprecated.
-
isEnvEntryType
public static boolean isEnvEntryType(String desc)
Deprecated.
-
convertTypes
public static Class[] convertTypes(String params) throws Exception
Deprecated.- Throws:
Exception
-
convertTypes
public static Class[] convertTypes(org.objectweb.asm.Type[] types) throws Exception
Deprecated.- Throws:
Exception
-
convertType
public static Class convertType(org.objectweb.asm.Type t) throws Exception
Deprecated.- Throws:
Exception
-
asCanonicalName
public static String asCanonicalName(org.objectweb.asm.Type t)
Deprecated.
-
-