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