Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mariomartinezricston/9899741c184f2e109063d896e1b017b8 to your computer and use it in GitHub Desktop.
Save mariomartinezricston/9899741c184f2e109063d896e1b017b8 to your computer and use it in GitHub Desktop.
@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