com.sun.mirror.declaration
Interface MethodDeclaration
- All Superinterfaces:
- Declaration, ExecutableDeclaration, MemberDeclaration
- All Known Subinterfaces:
- AnnotationTypeElementDeclaration
public interface MethodDeclaration
- extends ExecutableDeclaration
Represents a method of a class or interface.
Note that an
annotation type element
is a kind of method.
- Since:
- 1.5
getReturnType
TypeMirror getReturnType()
- Returns the formal return type of this method.
Returns
VoidType
if this method does not return a value.
- Returns:
- the formal return type of this method
Submit a bug or feature Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.