PropInfo { @NotNull public List<Value> getValues(int targetType) throws RepositoryException { if (values.isEmpty()) { return Collections.emptyList(); } else { List<Value> vs = Lists.newArrayListWithCapacity(values.size()); for (TextValue value : values) { vs.add(value.getValue(targetType)); } return vs; } } PropInfo(@Nullable String name, int type, @NotNull TextValue value);  PropInfo(@Nullable String name, int type, @NotNull List<? extends TextValue> values);  PropInfo(@Nullable String name, int type,
                    @NotNull List<? extends TextValue> values,
                    @NotNull MultipleStatus multipleStatus); void dispose(); int getTargetType(PropertyDefinition def); @Nullable String getName(); int getType(); boolean isUnknownMultiple(); @NotNull TextValue getTextValue(); @NotNull List<? extends TextValue> getTextValues(); @NotNull Value getValue(int targetType); @NotNull List<Value> getValues(int targetType); PropertyState asPropertyState(@NotNull PropertyDefinition propertyDefinition);  }
@Test public void testGetValuesEmpty() throws Exception { PropInfo propInfo = new PropInfo("longs", PropertyType.LONG, ImmutableList.of()); assertTrue(propInfo.getValues(PropertyType.LONG).isEmpty()); }