2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.sal.binding.model.api;
10 import java.util.List;
12 public interface TypeMember {
15 * Returns List of annotation definitions associated with generated type.
17 * @return List of annotation definitions associated with generated type.
19 public List<AnnotationType> getAnnotations();
22 * Returns the name of method.
24 * @return the name of method.
26 public String getName();
29 * Returns comment string associated with method.
31 * @return comment string associated with method.
33 public String getComment();
36 * Returns the Type that declares method.
38 * @return the Type that declares method.
40 public Type getDefiningType();
43 * Returns the access modifier of method.
45 * @return the access modifier of method.
47 public AccessModifier getAccessModifier();
50 * Returns the returning Type that methods returns.
52 * @return the returning Type that methods returns.
54 public Type getReturnType();
57 * Returns <code>true</code> if method is declared as final.
59 * @return <code>true</code> if method is declared as final.
61 public boolean isFinal();