public class CollectionEquivalentResolver extends Resolver
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.| Constructor and Description |
|---|
CollectionEquivalentResolver(Resolver parent,
java.util.List<Resolver> resolvers)
Creates a new
CollectionEquivalentResolver. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ResolverVisitor visitor)
|
protected IType |
buildType()
|
protected ITypeDeclaration |
buildTypeDeclaration()
Resolves the
ITypeDeclaration of the property handled by this Resolver. |
addChild, checkParent, getChild, getManagedType, getMapping, getParent, getParentManagedType, getParentMapping, getParentType, getParentTypeDeclaration, getProvider, getQuery, getType, getType, getType, getTypeDeclaration, getTypeHelper, getTypeRepository, isNullAllowed, setNullAllowedpublic void accept(ResolverVisitor visitor)
protected IType buildType()
protected ITypeDeclaration buildTypeDeclaration()
ITypeDeclaration of the property handled by this Resolver.buildTypeDeclaration in class ResolverITypeDeclaration that was resolved by this Resolver or the
ITypeDeclaration for IType.UNRESOLVABLE_TYPE if it could not be resolved