protected final boolean defaultHas(String name) { return super.has(name, this); }
protected final boolean defaultHas(String name) { return super.has(name, this); }
@Override public boolean has(String name, Scriptable start) { if (this == thePrototypeInstance) return super.has(name, start); return (System.getProperty(name) != null); }
public boolean has(String name, Scriptable start) { if (_methodMap.containsKey(name)) { return true; } return super.has(name, start); }
@Override public boolean has(String name, Scriptable start) { if (this == thePrototypeInstance) return super.has(name, start); return (System.getProperty(name) != null); }
public boolean has(int index, Scriptable start) { if (scope == null) { return super.has(index, start); } return scope.has(this, index); }
public boolean has(String name, Scriptable start) { if (scope == null) { return super.has(name, start); } return scope.has(this, name); }
public boolean has( String propertyName, Scriptable scriptable ) { return super.has( propertyName, scriptable ) || (_scriptable != null && _scriptable.get( propertyName ) != null); }
/** * @see org.mozilla.javascript.Scriptable#has(String, Scriptable) */ @Override public boolean has(String name, Scriptable start) { if (super.has(name, start)) { return true; } else { return propertyExtractor.propertyExists(name, this.fieldDefinition); } } }
public boolean has(String id, Scriptable start) { if (delegate instanceof Repeater) { if (id.equals("length")) { return true; } } else if (delegate instanceof MultiValueField) { if (id.equals("length")) { return true; } } else if (delegate != null) { Widget sub = delegate.lookupWidget(id); if (sub != null) { return true; } } return super.has(id, start); }
/** * @see org.mozilla.javascript.Scriptable#has(String, Scriptable) */ @Override public boolean has(String name, Scriptable start) { if (super.has(name, start)) { return true; } else { return propertyExtractor.propertyExists(name, this.fieldDefinition); } } }
public boolean has(int index, Scriptable start) { if (delegate instanceof Repeater) { Repeater repeater = (Repeater)delegate; return index >= 0 && index < repeater.getSize(); } if (delegate instanceof MultiValueField) { Object[] values = (Object[])delegate.getValue(); return index >= 0 && index < values.length; } return super.has(index, start); }
public boolean has( String name, Scriptable start ) { return super.has( name, start ) || ScriptingSupport.hasNamedProperty( this, getJavaPropertyName( name ), start ); }
@Override public boolean has(String name, Scriptable start) { String param = extractParameter(name); if (param != null) { if (context.containsParameter(param)) { return true; } else { throw new ExpressionParseException("Unknow parameter: " + param); } } return super.has(name, start); }
@Override public boolean has(String name, Scriptable start) { int info = findInstanceIdInfo(name); if (info != 0) { int attr = (info >>> 16); if ((attr & PERMANENT) != 0) { return true; } int id = (info & 0xFFFF); return NOT_FOUND != getInstanceIdValue(id); } if (prototypeValues != null) { int id = prototypeValues.findId(name); if (id != 0) { return prototypeValues.has(id); } } return super.has(name, start); }
public boolean has(String name, Scriptable start) { int info = findInstanceIdInfo(name); if (info != 0) { int attr = (info >>> 16); if ((attr & PERMANENT) != 0) { return true; } int id = (info & 0xFFFF); return NOT_FOUND != getInstanceIdValue(id); } if (prototypeValues != null) { int id = prototypeValues.findId(name); if (id != 0) { return prototypeValues.has(id); } } return super.has(name, start); }
@Override public boolean has(String name, Scriptable start) { int info = findInstanceIdInfo(name); if (info != 0) { int attr = (info >>> 16); if ((attr & PERMANENT) != 0) { return true; } int id = (info & 0xFFFF); return NOT_FOUND != getInstanceIdValue(id); } if (prototypeValues != null) { int id = prototypeValues.findId(name); if (id != 0) { return prototypeValues.has(id); } } return super.has(name, start); }
@Override public boolean has(String name, Scriptable start) { int info = findInstanceIdInfo(name); if (info != 0) { int attr = (info >>> 16); if ((attr & PERMANENT) != 0) { return true; } int id = (info & 0xFFFF); return NOT_FOUND != getInstanceIdValue(id); } if (prototypeValues != null) { int id = prototypeValues.findId(name); if (id != 0) { return prototypeValues.has(id); } } return super.has(name, start); }
@Override public boolean has(String name, Scriptable start) { int info = findInstanceIdInfo(name); if (info != 0) { int attr = (info >>> 16); if ((attr & PERMANENT) != 0) { return true; } int id = (info & 0xFFFF); return NOT_FOUND != getInstanceIdValue(id); } if (prototypeValues != null) { int id = prototypeValues.findId(name); if (id != 0) { return prototypeValues.has(id); } } return super.has(name, start); }
@Override public boolean has(String name, Scriptable start) { int info = findInstanceIdInfo(name); if (info != 0) { int attr = (info >>> 16); if ((attr & PERMANENT) != 0) { return true; } int id = (info & 0xFFFF); return NOT_FOUND != getInstanceIdValue(id); } if (prototypeValues != null) { int id = prototypeValues.findId(name); if (id != 0) { return prototypeValues.has(id); } } return super.has(name, start); }