Class ReflectUtils
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.util.ReflectUtils
-
@Deprecated(since="2021-05-27") public class ReflectUtils extends Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description ReflectUtils()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Class<?>
findGenericClassFor(Class<?> baseClass, Class<?> ifaceClass)
Deprecated.Given a Base (concrete) Class, find the interface specified, and return its concrete Generic class declaration.static boolean
isDefaultConstructable(Class<?> clazz)
Deprecated.static String
toShortName(Type type)
Deprecated.static String
toString(Class<?> pojo, Method method)
Deprecated.static String
trimClassName(String name)
Deprecated.
-
-
-
Method Detail
-
findGenericClassFor
public static Class<?> findGenericClassFor(Class<?> baseClass, Class<?> ifaceClass)
Deprecated.Given a Base (concrete) Class, find the interface specified, and return its concrete Generic class declaration.- Parameters:
baseClass
- the base (concrete) class to look inifaceClass
- the interface of interest- Returns:
- the (concrete) generic class that the interface exposes
-
isDefaultConstructable
public static boolean isDefaultConstructable(Class<?> clazz)
Deprecated.
-
-