private boolean isArrayType(HashSet<String> resolvedTypesSet){
  return resolvedTypesSet.size() == 1 && resolvedTypesSet.contains(Types.strArray);
}

private boolean isArrayType ( HashSet < String > resolvedTypesSet ) { return resolvedTypesSet . size ( ) == 1 && resolvedTypesSet . contains ( Types . strArray ) ; }
check if only array type possible
