Code example for LoadingCache

Methods: getUnchecked

0
            return parseCreateSqlWoCache(pojoClass); 
        } 
    }); 
 
    public static String parseCreateSql(Class<?> pojoClass) {
        return createSqlCache.getUnchecked(pojoClass);
    } 
 
    private static Field[] parsePropertiesName(Class<?> pojoClass) {
        Field[] declaredFields = pojoClass.getDeclaredFields();
        List<Field> properties = Lists.newArrayList();
        for (Field field : declaredFields) {
            if (Modifier.isStatic(field.getModifiers())) continue;
            if (field.getAnnotation(EqlSkip.class) != null) continue;
 
            properties.add(field);
        } 
 
        return properties.toArray(new Field[properties.size()]);
    }