public boolean matches(String componentName, String componentClassName, String expr) { if (this.componentClassName != null && componentClassName != null && (this.componentClassName + (this.expression != null ? "." + this.expression : "")).indexOf(componentClassName + (expr != null ? "." + expr : "")) == 0) { return true; } return getPath().indexOf(componentName + (expr != null ? "." + expr : "")) == 0; }
public boolean matches(String componentName, String componentClassName, String expr) { if (this.componentClassName != null && componentClassName != null && (this.componentClassName + (this.expression != null ? "." + this.expression : "")).indexOf(componentClassName + (expr != null ? "." + expr : "")) == 0) { return true; } return getPath().indexOf(componentName + (expr != null ? "." + expr : "")) == 0; }
public boolean matches(String componentName, String componentClassName, String expr) { if (this.componentClassName != null && componentClassName != null && (this.componentClassName + (this.expression != null ? "." + this.expression : "")).indexOf(componentClassName + (expr != null ? "." + expr : "")) == 0) { return true; } return getPath().indexOf(componentName + (expr != null ? "." + expr : "")) == 0; }
public boolean matches(String componentName, String componentClassName, String expr) { if (this.componentClassName != null && componentClassName != null && (this.componentClassName + (this.expression != null ? "." + this.expression : "")).indexOf(componentClassName + (expr != null ? "." + expr : "")) == 0) { return true; } return getPath().indexOf(componentName + (expr != null ? "." + expr : "")) == 0; }