Documentation ¶
Index ¶
- Constants
- type BaseJava
- func (this *BaseJava) AssembleParams(method *parser.Method) string
- func (this *BaseJava) FilterVariableName(n string) string
- func (this *BaseJava) GetInnerType(t *parser.Type) string
- func (this *BaseJava) IsKeyword(n string) bool
- func (this *BaseJava) ObjectTypecast(t *parser.Type) string
- func (this *BaseJava) PlainTypecast(t *parser.Type) string
- type JavaGen
Constants ¶
View Source
const ( JavaTypeshort = "short" JavaTypeint = "int" JavaTypelong = "long" JavaTypebool = "boolean" JavaTypebyte = "byte" JavaTypedouble = "double" JavaTypeString = "String" JavaTypeShort = "Short" JavaTypeInt = "Integer" JavaTypeLong = "Long" JavaTypeBool = "Boolean" JavaTypeByte = "Byte" JavaTypeDouble = "Double" )
View Source
const ( TPL_STRUCT = "tgen/java/struct" TPL_SERVICE = "tgen/java/service" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseJava ¶
type BaseJava struct { Namespace string // contains filtered or unexported fields }
func (*BaseJava) AssembleParams ¶
func (*BaseJava) FilterVariableName ¶
Click to show internal directories.
Click to hide internal directories.