org.codehaus.enunciate.modules.ruby
Class ClientClassnameForMethod
java.lang.Object
org.codehaus.enunciate.template.freemarker.ClientPackageForMethod
org.codehaus.enunciate.template.freemarker.ClassnameForMethod
org.codehaus.enunciate.template.freemarker.ClientClassnameForMethod
org.codehaus.enunciate.modules.ruby.ClientClassnameForMethod
- All Implemented Interfaces:
- freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel
public class ClientClassnameForMethod
- extends ClientClassnameForMethod
Conversion from java types to Ruby types.
- Author:
- Ryan Heaton
| Fields inherited from interface freemarker.template.TemplateModel |
NOTHING |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientClassnameForMethod
public ClientClassnameForMethod(Map<String,String> conversions)
convert
public String convert(com.sun.mirror.declaration.TypeDeclaration declaration)
throws freemarker.template.TemplateModelException
- Overrides:
convert in class ClientClassnameForMethod
- Throws:
freemarker.template.TemplateModelException
convert
public String convert(Accessor accessor)
throws freemarker.template.TemplateModelException
- Overrides:
convert in class ClientClassnameForMethod
- Throws:
freemarker.template.TemplateModelException
isCollection
protected boolean isCollection(com.sun.mirror.declaration.TypeDeclaration declaration)
isMap
protected boolean isMap(com.sun.mirror.declaration.TypeDeclaration declaration)
convert
public String convert(com.sun.mirror.type.TypeMirror typeMirror)
throws freemarker.template.TemplateModelException
- Overrides:
convert in class ClassnameForMethod
- Throws:
freemarker.template.TemplateModelException
getPackageSeparator
protected String getPackageSeparator()
- Overrides:
getPackageSeparator in class ClassnameForMethod
Copyright © 2015. All rights reserved.