View Javadoc

1    /****************************************************************************
2    * Copyright (c) 2005, 2006, 2007, 2008, 2009 Imola Informatica.
3    * All rights reserved. This program and the accompanying materials
4    * are made available under the terms of the LGPL License v2.1
5    * which accompanies this distribution, and is available at
6    * http://www.gnu.org/licenses/lgpl.html
7    ****************************************************************************/
8   package it.imolinfo.jbi4corba.webservice.generator.bcm;
9   
10  import java.util.HashMap;
11  import java.util.Map;
12  
13  import org.apache.commons.lang.builder.ReflectionToStringBuilder;
14  
15  
16  /**
17   * This class is used to collect the annotations found during the visit of a
18   * class.
19   */
20  public class AnnotationsMaps {
21  
22    public Map<String, AnnotationVisibleAndValue> annotationOnClass
23      = new HashMap<String, AnnotationVisibleAndValue>();
24  
25    public Map<String, Map<String, AnnotationVisibleAndValue>> annotationOnField
26      = new HashMap<String, Map<String, AnnotationVisibleAndValue>>();
27  
28    public Map<String, Map<String, AnnotationVisibleAndValue>> annotationOnMethod
29      = new HashMap<String, Map<String, AnnotationVisibleAndValue>>();
30  
31    /**
32     * Default constructor.
33     */
34    public AnnotationsMaps () {
35  	// NOP
36    }
37    
38    /**
39     * @return  The return
40     */
41    @Override
42    public String toString() {
43      return ReflectionToStringBuilder.toString(this);
44    }
45  }