Class CollectionEquivalentResolver


  • public class CollectionEquivalentResolver
    extends Resolver
    This Resolver compares each IType retrieved from the list of Resolvers that were gathered for a given Expression and returns that type if they are all the same type otherwise the IType for Object is returned.
    Since:
    2.3
    Version:
    2.5
    Author:
    Pascal Filion
    • Constructor Detail

      • CollectionEquivalentResolver

        public CollectionEquivalentResolver​(Resolver parent,
                                            List<Resolver> resolvers)
        Creates a new CollectionEquivalentResolver.
        Parameters:
        parent - The parent Resolver, which is never null
        resolvers - The list of resolvers that were created for each of the encapsulated expressions