@Override public JSType getPropertyType(String property) { StaticSlot<JSType> slot = getSlot(property); if (slot == null) { return getNativeType(JSTypeNative.UNKNOWN_TYPE); } return slot.getType(); }
@Override public boolean isPropertyTypeInferred(String property) { StaticSlot<JSType> slot = getSlot(property); if (slot == null) { return false; } return slot.isTypeInferred(); }