@Test public void testGetDescription() { Assert.assertEquals("name description", entry.getDescription()); }
public String getDescription() { String description = null; if ((getParam().getParameter() != null) && (getParam().getParameter().descriptionKey() != null)) { String descriptionKey = getParam().getParameter().descriptionKey(); if ((descriptionKey != null) && !"".equals(descriptionKey.trim())) { descriptionKey = descriptionKey.trim(); description = getDescriptionFromResourceBundle(descriptionKey); } } else if (getParam().isDynamicParameter() && (getParam().getWrappedParameter() != null) && (getParam().getWrappedParameter().getDynamicParameter() != null)) { String descriptionKey = getParam().getWrappedParameter().getDynamicParameter().descriptionKey(); if ((descriptionKey != null) && !"".equals(descriptionKey.trim())) { descriptionKey = descriptionKey.trim(); description = getDescriptionFromResourceBundle(descriptionKey); } } if ((description == null) || "".equals(description.trim())) { if ((getParam().getParameter() != null) && (getParam().getParameter().description() != null)) { description = getParam().getParameter().description(); } else if (getParam().isDynamicParameter()) { description = getParam().getWrappedParameter().getDynamicParameter().description(); } } return description == null ? "<no description>" : description; }
TranslationEntry { public String getDescription() { String description = null; if ((getParam().getParameter() != null) && (getParam().getParameter().descriptionKey() != null)) { String descriptionKey = getParam().getParameter().descriptionKey(); if ((descriptionKey != null) && !"".equals(descriptionKey.trim())) { descriptionKey = descriptionKey.trim(); description = getDescriptionFromResourceBundle(descriptionKey); } } else if (getParam().isDynamicParameter() && (getParam().getWrappedParameter() != null) && (getParam().getWrappedParameter().getDynamicParameter() != null)) { String descriptionKey = getParam().getWrappedParameter().getDynamicParameter().descriptionKey(); if ((descriptionKey != null) && !"".equals(descriptionKey.trim())) { descriptionKey = descriptionKey.trim(); description = getDescriptionFromResourceBundle(descriptionKey); } } if ((description == null) || "".equals(description.trim())) { if ((getParam().getParameter() != null) && (getParam().getParameter().description() != null)) { description = getParam().getParameter().description(); } else if (getParam().isDynamicParameter()) { description = getParam().getWrappedParameter().getDynamicParameter().description(); } } return description == null ? "<no description>" : description; } }
TranslationEntry { public String getDescription() { String description = null; if ((getParam().getParameter() != null) && (getParam().getParameter().descriptionKey() != null)) { String descriptionKey = getParam().getParameter().descriptionKey(); if ((descriptionKey != null) && !"".equals(descriptionKey.trim())) { descriptionKey = descriptionKey.trim(); description = getDescriptionFromResourceBundle(descriptionKey); } } else if (getParam().isDynamicParameter() && (getParam().getWrappedParameter() != null) && (getParam().getWrappedParameter().getDynamicParameter() != null)) { String descriptionKey = getParam().getWrappedParameter().getDynamicParameter().descriptionKey(); if ((descriptionKey != null) && !"".equals(descriptionKey.trim())) { descriptionKey = descriptionKey.trim(); description = getDescriptionFromResourceBundle(descriptionKey); } } if ((description == null) || "".equals(description.trim())) { if ((getParam().getParameter() != null) && (getParam().getParameter().description() != null)) { description = getParam().getParameter().description(); } else if (getParam().isDynamicParameter()) { description = getParam().getWrappedParameter().getDynamicParameter().description(); } } return description == null ? "<no description>" : description; } protected  TranslationEntry(
      final Parameterized param,
      final Object object,
      final String prefix,
      final AnnotatedElement member); }
TranslationEntry { public String getDescription() { String description = null; if ((getParam().getParameter() != null) && (getParam().getParameter().descriptionKey() != null)) { String descriptionKey = getParam().getParameter().descriptionKey(); if ((descriptionKey != null) && !"".equals(descriptionKey.trim())) { descriptionKey = descriptionKey.trim(); description = getDescriptionFromResourceBundle(descriptionKey); } } else if (getParam().isDynamicParameter() && (getParam().getWrappedParameter() != null) && (getParam().getWrappedParameter().getDynamicParameter() != null)) { String descriptionKey = getParam().getWrappedParameter().getDynamicParameter().descriptionKey(); if ((descriptionKey != null) && !"".equals(descriptionKey.trim())) { descriptionKey = descriptionKey.trim(); description = getDescriptionFromResourceBundle(descriptionKey); } } if ((description == null) || "".equals(description.trim())) { if ((getParam().getParameter() != null) && (getParam().getParameter().description() != null)) { description = getParam().getParameter().description(); } else if (getParam().isDynamicParameter()) { description = getParam().getWrappedParameter().getDynamicParameter().description(); } } return description == null ? "<no description>" : description; } protected  TranslationEntry(
      final Parameterized param,
      final Object object,
      final String prefix,
      final AnnotatedElement member); Parameterized getParam(); Object getObject(); String getPrefix(); boolean isMethod(); AnnotatedElement getMember(); String[] getPrefixedNames(); String getDescription(); boolean isPassword(); boolean isHidden(); boolean isRequired(); boolean hasValue(); String getAsPropertyName(); }
TranslationEntry { public String getDescription() { String description = null; if ((getParam().getParameter() != null) && (getParam().getParameter().descriptionKey() != null)) { String descriptionKey = getParam().getParameter().descriptionKey(); if ((descriptionKey != null) && !"".equals(descriptionKey.trim())) { descriptionKey = descriptionKey.trim(); description = getDescriptionFromResourceBundle(descriptionKey); } } else if (getParam().isDynamicParameter() && (getParam().getWrappedParameter() != null) && (getParam().getWrappedParameter().getDynamicParameter() != null)) { String descriptionKey = getParam().getWrappedParameter().getDynamicParameter().descriptionKey(); if ((descriptionKey != null) && !"".equals(descriptionKey.trim())) { descriptionKey = descriptionKey.trim(); description = getDescriptionFromResourceBundle(descriptionKey); } } if ((description == null) || "".equals(description.trim())) { if ((getParam().getParameter() != null) && (getParam().getParameter().description() != null)) { description = getParam().getParameter().description(); } else if (getParam().isDynamicParameter()) { description = getParam().getWrappedParameter().getDynamicParameter().description(); } } return description == null ? "<no description>" : description; } protected  TranslationEntry(
      final Parameterized param,
      final Object object,
      final String prefix,
      final AnnotatedElement member); Parameterized getParam(); Object getObject(); String getPrefix(); boolean isMethod(); AnnotatedElement getMember(); String[] getPrefixedNames(); String getDescription(); boolean isPassword(); boolean isHidden(); boolean isRequired(); boolean hasValue(); String getAsPropertyName();  }