source: java/main/src/main/java/com/framsticks/params/annotations/ParamAnnotation.java @ 193

Last change on this file since 193 was 193, checked in by Maciej Komosinski, 10 years ago

Set svn:eol-style native for all textual files

  • Property svn:eol-style set to native
File size: 696 bytes
Line 
1package com.framsticks.params.annotations;
2
3import java.lang.annotation.ElementType;
4import java.lang.annotation.Retention;
5import java.lang.annotation.RetentionPolicy;
6import java.lang.annotation.Target;
7
8import com.framsticks.params.Param;
9
10@Retention(RetentionPolicy.RUNTIME)
11@Target({ElementType.FIELD, ElementType.METHOD})
12public @interface ParamAnnotation {
13        String name() default "";
14        String id() default "";
15
16        Class<? extends Param> paramType() default Param.class;
17        String stringType() default "";
18
19        String def() default "";
20        String min() default "";
21        String max() default "";
22
23        String help() default "";
24        int flags() default 0;
25        int extra() default 0;
26        // String group() default "";
27}
28
Note: See TracBrowser for help on using the repository browser.