}
*/
try {
if(directMethod.hasResultAnnotation()) {
DirectResult directResult = directMethod.getResultAnnotation();
for(Pattern pattern : directResult.includes()) {
gsonBuilder.registerTypeAdapter(pattern.type(), new IncludeFieldsTypeAdapter(pattern.fields()));
}
for(Pattern pattern : directResult.excludes()) {
gsonBuilder.registerTypeAdapter(pattern.type(), new ExcludeFieldsTypeAdapter(pattern.fields()));
}