in ant/src/main/java/org/apache/commons/weaver/ant/WeaverSettings.java [205:223]
public Properties getProperties() {
if (isReference()) {
return getRef().getProperties();
}
if (propertySet == null && inlineProperties == null) {
createPropertySet().appendBuiltin(
(BuiltinPropertySetName) EnumeratedAttribute.getInstance(BuiltinPropertySetName.class, "all"));
}
final Properties result = new Properties();
if (propertySet != null) {
result.putAll(propertySet.getProperties());
}
if (inlineProperties != null) {
for (final Map.Entry<Object, Object> entry : inlineProperties.properties.entrySet()) {
result.put(entry.getKey(), StringUtils.trim((String) entry.getValue()));
}
}
return result;
}