test_class.declarator: LOREM = "Lorem ipsum dolor sit amet"
test_class.modifier: private static final
test_class.original_string: private static final String LOREM = "Lorem ipsum dolor sit amet";
test_class.type: String
test_class.var_name: LOREM
test_class.declarator: LOREM_EXPRESSION = "Lorem ${ipsum} dolor sit amet"
test_class.modifier: private static final
test_class.original_string: private static final String LOREM_EXPRESSION = "Lorem ${ipsum} dolor sit amet";
test_class.type: String
test_class.var_name: LOREM_EXPRESSION
test_class.declarator: TEMPLATE = "${build.shortName} also known as ${build.fullName} is installed in ${build.installDir}"
test_class.modifier: private static final
test_class.original_string: private static final String TEMPLATE = "${build.shortName} also known as ${build.fullName} is installed in ${build.installDir}";
test_class.type: String
test_class.var_name: TEMPLATE
test_class.declarator: COMMUNITY = "WildFly also known as WildFly is installed in WILDFLY_HOME"
test_class.modifier: private static final
test_class.original_string: private static final String COMMUNITY = "WildFly also known as WildFly is installed in WILDFLY_HOME";
test_class.type: String
test_class.var_name: COMMUNITY
test_class.declarator: PRODUCT = "JBoss EAP also known as JBoss Enterprise Application Platform is installed in EAP_HOME"
test_class.modifier: private static final
test_class.original_string: private static final String PRODUCT = "JBoss EAP also known as JBoss Enterprise Application Platform is installed in EAP_HOME";
test_class.type: String
test_class.var_name: PRODUCT
test_class.declarator: community = PreviewTemplate.COMMUNITY
test_class.modifier: private
test_class.original_string: private PreviewTemplate community = PreviewTemplate.COMMUNITY;
test_class.type: PreviewTemplate
test_class.var_name: community
test_class.declarator: product = PreviewTemplate.PRODUCT
test_class.modifier: private
test_class.original_string: private PreviewTemplate product = PreviewTemplate.PRODUCT;
test_class.type: PreviewTemplate
test_class.var_name: product
test_class.file: resources/src/test/java/org/jboss/hal/resources/PreviewTemplateTest.java
test_class.identifier: PreviewTemplateTest
test_case.body: @Test
      public void community() throws Exception {
          assertEquals(COMMUNITY, community.evaluate(TEMPLATE));
      }
test_case.class_method_signature: PreviewTemplateTest.community()
test_case.full_signature: @Test public void community()
test_case.identifier: community
test_case.invocations: assertEquals evaluate
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void community()
focal_class.declarator: SHORT_NAME = "build.shortName"
focal_class.modifier: private static final
focal_class.original_string: private static final String SHORT_NAME = "build.shortName";
focal_class.type: String
focal_class.var_name: SHORT_NAME
focal_class.declarator: FULL_NAME = "build.fullName"
focal_class.modifier: private static final
focal_class.original_string: private static final String FULL_NAME = "build.fullName";
focal_class.type: String
focal_class.var_name: FULL_NAME
focal_class.declarator: INSTALL_DIR = "build.installDir"
focal_class.modifier: private static final
focal_class.original_string: private static final String INSTALL_DIR = "build.installDir";
focal_class.type: String
focal_class.var_name: INSTALL_DIR
focal_class.declarator: COMMUNITY = new PreviewTemplate(new ImmutableMap.Builder<String, String>()
              .put(SHORT_NAME, "WildFly")
              .put(FULL_NAME, "WildFly")
              .put(INSTALL_DIR, "WILDFLY_HOME")
              .build())
focal_class.modifier: static final
focal_class.original_string: static final PreviewTemplate COMMUNITY = new PreviewTemplate(new ImmutableMap.Builder<String, String>()
              .put(SHORT_NAME, "WildFly")
              .put(FULL_NAME, "WildFly")
              .put(INSTALL_DIR, "WILDFLY_HOME")
              .build());
focal_class.type: PreviewTemplate
focal_class.var_name: COMMUNITY
focal_class.declarator: PRODUCT = new PreviewTemplate(new ImmutableMap.Builder<String, String>()
              .put(SHORT_NAME, "JBoss EAP")
              .put(FULL_NAME, "JBoss Enterprise Application Platform")
              .put(INSTALL_DIR, "EAP_HOME")
              .build())
focal_class.modifier: static final
focal_class.original_string: static final PreviewTemplate PRODUCT = new PreviewTemplate(new ImmutableMap.Builder<String, String>()
              .put(SHORT_NAME, "JBoss EAP")
              .put(FULL_NAME, "JBoss Enterprise Application Platform")
              .put(INSTALL_DIR, "EAP_HOME")
              .build());
focal_class.type: PreviewTemplate
focal_class.var_name: PRODUCT
focal_class.declarator: context
focal_class.modifier: private final
focal_class.original_string: private final Map<String, String> context;
focal_class.type: Map<String, String>
focal_class.var_name: context
focal_class.file: resources/src/main/java/org/jboss/hal/resources/PreviewTemplate.java
focal_class.identifier: PreviewTemplate
focal_class.class_method_signature: PreviewTemplate.get()
focal_class.full_signature: static PreviewTemplate get()
focal_class.identifier: get
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: PreviewTemplate
focal_class.signature: PreviewTemplate get()
focal_class.class_method_signature: PreviewTemplate.PreviewTemplate(Map<String, String> context)
focal_class.full_signature: private  PreviewTemplate(Map<String, String> context)
focal_class.identifier: PreviewTemplate
focal_class.modifiers: private
focal_class.parameters: (Map<String, String> context)
focal_class.signature:  PreviewTemplate(Map<String, String> context)
focal_class.class_method_signature: PreviewTemplate.evaluate(String text)
focal_class.full_signature:  String evaluate(String text)
focal_class.identifier: evaluate
focal_class.parameters: (String text)
focal_class.return: String
focal_class.signature: String evaluate(String text)
focal_class.class_method_signature: PreviewTemplate.evaluate(String text, String key)
focal_class.full_signature: private String evaluate(String text, String key)
focal_class.identifier: evaluate
focal_class.modifiers: private
focal_class.parameters: (String text, String key)
focal_class.return: String
focal_class.signature: String evaluate(String text, String key)
focal_class.class_method_signature: PreviewTemplate.expression(String key)
focal_class.full_signature: private String expression(String key)
focal_class.identifier: expression
focal_class.modifiers: private
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String expression(String key)
focal_method.body: String evaluate(String text) {
          if (text != null) {
              if (text.contains("${")) {
                  for (String key : context.keySet()) {
                      if (text.contains(expression(key))) {
                          text = evaluate(text, key);
                      }
                  }
              }
          }
          return text;
      }
focal_method.class_method_signature: PreviewTemplate.evaluate(String text)
focal_method.full_signature:  String evaluate(String text)
focal_method.identifier: evaluate
focal_method.invocations: contains keySet contains expression evaluate
focal_method.parameters: (String text)
focal_method.return: String
focal_method.signature: String evaluate(String text)