JavaType[] ret = new JavaType[interfaceNames.length]; for (int i = 0; i < ret.length; i++)
Set interfaceSet = new HashSet(interfaceNames.length); for (int i = 0; i < interfaceNames.length; i++)
    public JavaType[] getAllInterfaces()    {        JavaType[] ret = new JavaType[interfaceNames.length];        for (int i = 0; i < ret.length; i++)        {            ret[i] = repository.findTypeByName(interfaceNames[i]);        }        return ret;    }