コード例 #1
0
 protected static List<Property> getObjectProperties(Shape shape) {
   final List<Property> objectProperties = new ArrayList<>();
   // User properties only, ShareInternalFieldsNode do the rest
   for (Property property : shape.getProperties()) {
     if (property.getLocation().canStore(SOME_OBJECT)) {
       objectProperties.add(property);
     }
   }
   return objectProperties;
 }