poat mapping example: ``` @Target(ElementType.METH...
# spring
t
poat mapping example:
Copy code
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@RequestMapping(method = <http://RequestMethod.POST|RequestMethod.POST>)
public @interface PostMapping {

	/**
	 * Alias for {@link RequestMapping#name}.
	 */
	@AliasFor(annotation = RequestMapping.class)
	String name() default "";

	/**
	 * Alias for {@link RequestMapping#value}.
	 */
	@AliasFor(annotation = RequestMapping.class)
	String[] value() default {}; 

<etc>
What's the kotlin way to dosomething similar?