Here you can find the source of isSerializable(Class> clazz)
public static boolean isSerializable(Class<?> clazz)
//package com.java2s; //License from project: Open Source License import java.io.Serializable; public class Main { public static boolean isSerializable(Class<?> clazz) { return Serializable.class.isAssignableFrom(clazz); }/* ww w .ja v a 2 s .c o m*/ }