Could we use something like ExpressionResolver interface: ./jbosstools-central/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/internal/xpl/ExpressionResolver.java   ?

might not be the exact same syntax but seems better to have interface for property replacement rather than raw strings which might have to be statically defined (the interface can actually adjusts to its context at call time)