Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

MyBatis Generator Support for method type parameters #739

@GoogleCodeExporter

Description

@GoogleCodeExporter
As a part of a plugin to add methods to implement a GXT interface in the 
generated data classes, I need to be able to create the methods with the 
following signature

public <X> X get(String property)

For my purposes adding a List<FullyQualifiedJavaType> typeParameter  to the 
org.mybatis.generator.api.dom.java.Method class with get and add methods like 
the parameter list, along with the associated code for writing the list in 
angle brackets to the StringBuffer in the getFormattedContent method will do 
the trick.

I don't know, however, whether there are any other steps that would need to be 
done to support other generic syntax like <X extends Blah>.

Original issue reported on code.google.com by malcolm....@bms.com on 12 Dec 2012 at 10:04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions