@Nullable public static Labels fromSnippets(KindredSnippets[] snippets){
  for (  KindredSnippets obj : snippets) {
    if (obj instanceof Labels) {
      return (Labels)obj;
    }
  }
  return null;
}

@ Nullable public static Labels fromSnippets ( KindredSnippets [ ] snippets ) { for ( KindredSnippets obj : snippets ) { if ( obj instanceof Labels ) { return ( Labels ) obj ; } } return null ; }
find the labels in the snippets .
