test_class.declarator: resolver
test_class.modifier: private
test_class.original_string: private VariableResolver resolver;
test_class.type: VariableResolver
test_class.var_name: resolver
test_class.file: alien4cloud-core/src/test/java/org/alien4cloud/tosca/variable/VariableResolverTest.java
test_class.identifier: VariableResolverTest
test_case.body: @Test
      public void resolve_spel() throws Exception {
          // not supported - SpEL only works with String.class
          // assertThat(resolver.resolve("spel_variable", Boolean.class)).isEqualTo(true);
  
          assertThat(resolver.resolve("spel_variable", String.class)).isEqualTo("true");
      }
test_case.class_method_signature: VariableResolverTest.resolve_spel()
test_case.full_signature: @Test public void resolve_spel()
test_case.identifier: resolve_spel
test_case.invocations: isEqualTo assertThat resolve
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void resolve_spel()
focal_class.declarator: APP_VARIABLES = "appVariables"
focal_class.modifier: private static final
focal_class.original_string: private static final String APP_VARIABLES = "appVariables";
focal_class.type: String
focal_class.var_name: APP_VARIABLES
focal_class.declarator: ENV_VARIABLES = "envVariables"
focal_class.modifier: private static final
focal_class.original_string: private static final String ENV_VARIABLES = "envVariables";
focal_class.type: String
focal_class.var_name: ENV_VARIABLES
focal_class.declarator: ENV_TYPE_VARIABLES = "envTypeVariables"
focal_class.modifier: private static final
focal_class.original_string: private static final String ENV_TYPE_VARIABLES = "envTypeVariables";
focal_class.type: String
focal_class.var_name: ENV_TYPE_VARIABLES
focal_class.declarator: resolver
focal_class.modifier: private
focal_class.original_string: private PropertySourcesPropertyResolver resolver;
focal_class.type: PropertySourcesPropertyResolver
focal_class.var_name: resolver
focal_class.declarator: propertySources
focal_class.modifier: private
focal_class.original_string: private MutablePropertySources propertySources;
focal_class.type: MutablePropertySources
focal_class.var_name: propertySources
focal_class.file: alien4cloud-core/src/main/java/org/alien4cloud/tosca/variable/VariableResolver.java
focal_class.identifier: VariableResolver
focal_class.class_method_signature: VariableResolver.VariableResolver(PropertySource appVariables, PropertySource envTypeVariables, PropertySource envVariables, AlienContextVariables alienContextVariables)
focal_class.full_signature: public  VariableResolver(PropertySource appVariables, PropertySource envTypeVariables, PropertySource envVariables, AlienContextVariables alienContextVariables)
focal_class.identifier: VariableResolver
focal_class.modifiers: public
focal_class.parameters: (PropertySource appVariables, PropertySource envTypeVariables, PropertySource envVariables, AlienContextVariables alienContextVariables)
focal_class.signature:  VariableResolver(PropertySource appVariables, PropertySource envTypeVariables, PropertySource envVariables, AlienContextVariables alienContextVariables)
focal_class.class_method_signature: VariableResolver.getPropertySources()
focal_class.full_signature: protected MutablePropertySources getPropertySources()
focal_class.identifier: getPropertySources
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: MutablePropertySources
focal_class.signature: MutablePropertySources getPropertySources()
focal_class.class_method_signature: VariableResolver.VariableResolver(Properties appVariables, Properties envTypeVariables, Properties envVariables, AlienContextVariables alienContextVariables)
focal_class.full_signature: public  VariableResolver(Properties appVariables, Properties envTypeVariables, Properties envVariables, AlienContextVariables alienContextVariables)
focal_class.identifier: VariableResolver
focal_class.modifiers: public
focal_class.parameters: (Properties appVariables, Properties envTypeVariables, Properties envVariables, AlienContextVariables alienContextVariables)
focal_class.signature:  VariableResolver(Properties appVariables, Properties envTypeVariables, Properties envVariables, AlienContextVariables alienContextVariables)
focal_class.class_method_signature: VariableResolver.resolve(String variableName, Class<T> clazz)
focal_class.full_signature: public T resolve(String variableName, Class<T> clazz)
focal_class.identifier: resolve
focal_class.modifiers: public
focal_class.parameters: (String variableName, Class<T> clazz)
focal_class.return: T
focal_class.signature: T resolve(String variableName, Class<T> clazz)
focal_class.class_method_signature: VariableResolver.resolve(String variableName)
focal_class.full_signature: public String resolve(String variableName)
focal_class.identifier: resolve
focal_class.modifiers: public
focal_class.parameters: (String variableName)
focal_class.return: String
focal_class.signature: String resolve(String variableName)
focal_method.body: public <T> T resolve(String variableName, Class<T> clazz) {
          if (!resolver.containsProperty(variableName)) {
              throw new UnknownVariableException(variableName);
          }
  
          return resolver.getProperty(variableName, clazz);
      }
focal_method.class_method_signature: VariableResolver.resolve(String variableName, Class<T> clazz)
focal_method.full_signature: public T resolve(String variableName, Class<T> clazz)
focal_method.identifier: resolve
focal_method.invocations: containsProperty getProperty
focal_method.modifiers: public
focal_method.parameters: (String variableName, Class<T> clazz)
focal_method.return: T
focal_method.signature: T resolve(String variableName, Class<T> clazz)