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