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 booleanisDefaultConstructable(Class<?> clazz)Deprecated.static StringtoShortName(Type type)Deprecated.static StringtoString(Class<?> pojo, Method method)Deprecated.static StringtrimClassName(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.
-
-