/** * Tests if the decoder can decode the class. * @param clazz The class. * @return True, if the decoder can decode this class. */ public boolean isApplicable(Class<?> clazz) { return SReflect.isSupertype(LogRecord.class, clazz); }
/** * Tests if the decoder can decode the class. * @param clazz The class. * @return True, if the decoder can decode this class. */ public boolean isApplicable(Class<?> clazz) { return SReflect.isSupertype(LRU.class, clazz); }
/** * Tests if the decoder can decode the class. * @param clazz The class. * @return True, if the decoder can decode this class. */ public boolean isApplicable(Class<?> clazz) { return SReflect.isSupertype(InetAddress.class, clazz); }
/** * Tests if the decoder can decode the class. * @param clazz The class. * @return True, if the decoder can decode this class. */ public boolean isApplicable(Class<?> clazz) { return SReflect.isSupertype(StackTraceElement.class, clazz); }
/** * Tests if the decoder can decode the class. * @param clazz The class. * @return True, if the decoder can decode this class. */ public boolean isApplicable(Class<?> clazz) { return SReflect.isSupertype(Collection.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return object instanceof JsonObject && SReflect.isSupertype(Date.class, clazz) && !SReflect.isSupertype(Timestamp.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(Collection.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(Iterator.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(InetAddress.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return object instanceof JsonObject && SReflect.isSupertype(Certificate.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return object instanceof JsonObject && SReflect.isSupertype(Throwable.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(Class.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(Level.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(Enumeration.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(Set.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(Tuple.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(Iterator.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(Level.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return SReflect.isSupertype(Rectangle.class, clazz); }
/** * Test if the processor is applicable. * @param object The object. * @param targetcl If not null, the traverser should make sure that the result object is compatible with the class loader, * e.g. by cloning the object using the class loaded from the target class loader. * @return True, if is applicable. */ public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl) { Class<?> clazz = SReflect.getClass(type); return object instanceof JsonObject && SReflect.isSupertype(Calendar.class, clazz); }