public boolean getDeclaredMatchAsPath() {
        ensureNotFrozen();
        return matchAsPath;
    }
Returns true if <i>this</i> is declared as match as path.

@throws IllegalStateException if this is frozen
container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileType.java