Added support for annotations in generated APIs.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / binding-model-api / src / main / java / org / opendaylight / controller / sal / binding / model / api / MethodSignature.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.sal.binding.model.api;
9
10 import java.util.List;
11
12 public interface MethodSignature {
13     
14     public List<AnnotationType> getAnnotations();
15     
16     public String getName();
17
18     public String getComment();
19
20     public Type getDefiningType();
21
22     public Type getReturnType();
23
24     public List<Parameter> getParameters();
25
26     public AccessModifier getAccessModifier();
27
28     interface Parameter {
29         public String getName();
30
31         public Type getType();
32     }
33 }