| 1 |
|
package org.trails.descriptor.annotation; |
| 2 |
|
|
| 3 |
|
import java.lang.annotation.Retention; |
| 4 |
|
import java.lang.annotation.RetentionPolicy; |
| 5 |
|
import java.lang.annotation.Target; |
| 6 |
|
import java.lang.annotation.ElementType; |
| 7 |
|
|
| 8 |
|
@Retention(RetentionPolicy.RUNTIME) |
| 9 |
|
@Target({ElementType.METHOD}) |
| 10 |
|
@DescriptorAnnotation(MethodDescriptorAnnotationHandler.class) |
| 11 |
|
public @interface MethodDescriptor |
| 12 |
|
{ |
| 13 |
|
|
| 14 |
|
public static final String DEFAULT_displayName = ""; |
| 15 |
|
|
| 16 |
|
boolean hidden() default false; |
| 17 |
|
|
| 18 |
|
String displayName() default ""; |
| 19 |
|
} |