Transformer transformer = new PredicateTransformer(new InstanceofPredicate(ModelConvention.class));
return CollectionUtils.transformedCollection(getConventions(), transformer);
}
public Collection<KernelConvention> getKernelConventions() {
Transformer transformer = new PredicateTransformer(new InstanceofPredicate(KernelConvention.class));
return CollectionUtils.transformedCollection(getConventions(), transformer);
}