Created
July 8, 2016 11:34
-
-
Save mariomartinezricston/9899741c184f2e109063d896e1b017b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ContainsTransformerMethods | |
public class AnimalTransformerAnnotation { | |
@Transformer | |
public Animal returnAnimal(@Payload String name){ | |
return new Animal(name); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment