test_class.file: recipe-generator/src/test/java/ca/derekcormier/recipe/generator/filter/JavaTypeFilterTest.java
test_class.identifier: JavaTypeFilterTest
test_case.body: @Test
    public void testApply_convertsEnum() {
      Cookbook cookbook =
          new Cookbook(
              "test",
              new ArrayList<>(),
              Lists.newArrayList(new Enum("MyEnum", Lists.newArrayList("A"))));
      Filter filter = new JavaTypeFilter(cookbook);
  
      assertEquals("MyEnum", filter.apply("MyEnum"));
    }
test_case.class_method_signature: JavaTypeFilterTest.testApply_convertsEnum()
test_case.full_signature: @Test public void testApply_convertsEnum()
test_case.identifier: testApply_convertsEnum
test_case.invocations: newArrayList newArrayList assertEquals apply
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testApply_convertsEnum()
focal_class.file: recipe-generator/src/main/java/ca/derekcormier/recipe/generator/filter/JavaTypeFilter.java
focal_class.identifier: JavaTypeFilter
focal_class.class_method_signature: JavaTypeFilter.JavaTypeFilter(Cookbook cookbook)
focal_class.full_signature: public  JavaTypeFilter(Cookbook cookbook)
focal_class.identifier: JavaTypeFilter
focal_class.modifiers: public
focal_class.parameters: (Cookbook cookbook)
focal_class.signature:  JavaTypeFilter(Cookbook cookbook)
focal_class.class_method_signature: JavaTypeFilter.apply(Object value, Object... params)
focal_class.full_signature: @Override public Object apply(Object value, Object... params)
focal_class.identifier: apply
focal_class.modifiers: @Override public
focal_class.parameters: (Object value, Object... params)
focal_class.return: Object
focal_class.signature: Object apply(Object value, Object... params)
focal_class.class_method_signature: JavaTypeFilter.toJavaType(ParamType type, boolean varargAsArray)
focal_class.full_signature: private String toJavaType(ParamType type, boolean varargAsArray)
focal_class.identifier: toJavaType
focal_class.modifiers: private
focal_class.parameters: (ParamType type, boolean varargAsArray)
focal_class.return: String
focal_class.signature: String toJavaType(ParamType type, boolean varargAsArray)
focal_class.class_method_signature: JavaTypeFilter._toJavaType(Type type)
focal_class.full_signature: private String _toJavaType(Type type)
focal_class.identifier: _toJavaType
focal_class.modifiers: private
focal_class.parameters: (Type type)
focal_class.return: String
focal_class.signature: String _toJavaType(Type type)
focal_class.superclass: extends RecipeFilter
focal_method.body: @Override
    public Object apply(Object value, Object... params) {
      ParamType type = CookbookUtils.parseType(super.asString(value), getCookbook());
      return toJavaType(type, params.length > 0 && super.asBoolean(params[0]));
    }
focal_method.class_method_signature: JavaTypeFilter.apply(Object value, Object... params)
focal_method.full_signature: @Override public Object apply(Object value, Object... params)
focal_method.identifier: apply
focal_method.invocations: parseType asString getCookbook toJavaType asBoolean
focal_method.modifiers: @Override public
focal_method.parameters: (Object value, Object... params)
focal_method.return: Object
focal_method.signature: Object apply(Object value, Object... params)