in lightning-core/src/main/java/org/apache/directmemory/lightning/internal/util/ClassUtil.java [77:81]
public static boolean isReferenceCapable( Class<?> type )
{
return !type.isPrimitive() && Boolean.class != type && Byte.class != type && Short.class != type
&& Integer.class != type && Long.class != type && Float.class != type && Double.class != type;
}