private String toCode(String name) {
            if (document instanceof ColumnProperty) {
                final ColumnProperty columnProperty = (ColumnProperty) document;
                final java.lang.reflect.Type javaType = typeMapperComponent.typeOf(columnProperty);
                return String.format("%s get%s();", shortName(javaType.getTypeName()), namer.javaTypeName(name));
            }
            if (document instanceof TableProperty) {
                return String.format("%s %s;", namer.javaTypeName(name), namer.javaVariableName(name));
            }
            return "";
        }
@param <T>  the document type

@author Simon Jonassons
@since 3.0.0
tool-parent/tool-propertyeditor/src/main/java/com/speedment/tool/propertyeditor/editor/AliasPropertyEditor.java