1
2
3
4
5
6
7
8 package it.imolinfo.jbi4corba.webservice.generator.bcm;
9
10 import java.util.ArrayList;
11 import java.util.List;
12
13 import org.apache.commons.lang.builder.ReflectionToStringBuilder;
14
15
16
17
18 public class AnnotationValue {
19
20 public static final int ANNOTATION_VISIT = 0;
21 public static final int ANNOTATION_VISIT_ANNOTATION = 1;
22 public static final int ANNOTATION_VISIT_ARRAY = 2;
23 public static final int ANNOTATION_VISIT_ENUM = 3;
24
25 public int type;
26 public String name;
27 public String desc;
28 public Object value;
29
30 List<AnnotationValue> nestedAnnotationValue = new ArrayList<AnnotationValue>();
31
32
33
34
35 public AnnotationValue(int type) {
36 this.type = type;
37 }
38
39
40
41
42 @Override
43 public String toString() {
44 return ReflectionToStringBuilder.toString(this);
45 }
46 }