Skip to content

Instantly share code, notes, and snippets.

@jianghaolu
Created December 9, 2020 00:00
Show Gist options
  • Save jianghaolu/879f3e3fe86e4a7efbe52de63cdf7a9e to your computer and use it in GitHub Desktop.
Save jianghaolu/879f3e3fe86e4a7efbe52de63cdf7a9e to your computer and use it in GitHub Desktop.
fixtures.bodycomplex.implementation.models:
Goblinshark:
rename: GoblinShark
DotSalmon:
properties:
iswild:
rename: isWild
methods:
setIsWild:
rename: setWild
returnType: void
isWild:
returnType: boolean
returnValue: %s
CMYKColors:
enumMembers:
CYAN:
rename: TEAL
ReadonlyObj:
properties:
id:
generateGetterAndSetter: true
methods:
getId:
returnType: UUID
returnValue: UUID.fromString(%s)
javadoc:
description: Get the ID of the object.
setId:
modifier: package-private
javadoc:
description: Set the ID of the object.
return: The current ReadonlyObj instance
param:
id: The ID value
fixtures.bodycomplex
ArrayClient:
javadoc:
description: The sync client containing Array operations.
methods:
putValid:
returnType: ArrayClient
returnValue: this
javadoc:
return: The ArrayClient itself
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment