private void addSourceHint(SourceHint sh) { if (sh != null) { append(SPACE); append(BEGIN_HINT); append("sh"); //$NON-NLS-1$ if (sh.isUseAliases()) { append(SPACE); append("KEEP ALIASES"); //$NON-NLS-1$ } if (sh.getGeneralHint() != null) { appendSourceHintValue(sh.getGeneralHint()); } else { append(SPACE); } if (sh.getSpecificHints() != null) { for (Map.Entry<String, SpecificHint> entry : sh.getSpecificHints().entrySet()) { append(entry.getKey()); if (entry.getValue().isUseAliases()) { append(SPACE); append("KEEP ALIASES"); //$NON-NLS-1$ } appendSourceHintValue(entry.getValue().getHint()); } } append(END_HINT); } }
private void addSourceHint(SourceHint sh) { if (sh != null) { append(SPACE); append(BEGIN_HINT); append("sh"); //$NON-NLS-1$ if (sh.isUseAliases()) { append(SPACE); append("KEEP ALIASES"); //$NON-NLS-1$ } if (sh.getGeneralHint() != null) { appendSourceHintValue(sh.getGeneralHint()); } else { append(SPACE); } if (sh.getSpecificHints() != null) { for (Map.Entry<String, SpecificHint> entry : sh.getSpecificHints().entrySet()) { append(entry.getKey()); if (entry.getValue().isUseAliases()) { append(SPACE); append("KEEP ALIASES"); //$NON-NLS-1$ } appendSourceHintValue(entry.getValue().getHint()); } } append(END_HINT); } }
private void addSourceHint(SourceHint sh) { if (sh != null) { append(SPACE); append(BEGIN_HINT); append("sh"); //$NON-NLS-1$ if (sh.isUseAliases()) { append(SPACE); append("KEEP ALIASES"); //$NON-NLS-1$ } if (sh.getGeneralHint() != null) { appendSourceHintValue(sh.getGeneralHint()); } else { append(SPACE); } if (sh.getSpecificHints() != null) { for (Map.Entry<String, SpecificHint> entry : sh.getSpecificHints().entrySet()) { append(entry.getKey()); if (entry.getValue().isUseAliases()) { append(SPACE); append("KEEP ALIASES"); //$NON-NLS-1$ } appendSourceHintValue(entry.getValue().getHint()); } } append(END_HINT); } }
public String getSourceHint(String sourceName) { SpecificHint sp = getSpecificHint(sourceName); if (sp != null) { return sp.getHint(); } return null; }
public String getSourceHint(String sourceName) { SpecificHint sp = getSpecificHint(sourceName); if (sp != null) { return sp.getHint(); } return null; }
public String getSourceHint(String sourceName) { SpecificHint sp = getSpecificHint(sourceName); if (sp != null) { return sp.getHint(); } return null; }