Package com.sun.mirror.declaration
Interface MethodDeclaration
- All Superinterfaces:
- Declaration,- ExecutableDeclaration,- MemberDeclaration
- All Known Subinterfaces:
- AnnotationTypeElementDeclaration
Represents a method of a class or interface.
 Note that an
 annotation type element
 is a kind of method.
- Since:
- 1.5
- Version:
- 1.2 04/04/20
- Author:
- Joseph D. Darcy, Scott Seligman
- 
Method SummaryModifier and TypeMethodDescriptionReturns the formal return type of this method.Methods inherited from interface com.sun.mirror.declaration.Declarationaccept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleNameMethods inherited from interface com.sun.mirror.declaration.ExecutableDeclarationgetFormalTypeParameters, getParameters, getThrownTypes, isVarArgsMethods inherited from interface com.sun.mirror.declaration.MemberDeclarationgetDeclaringType
- 
Method Details- 
getReturnTypeTypeMirror getReturnType()Returns the formal return type of this method. ReturnsVoidTypeif this method does not return a value.- Returns:
- the formal return type of this method
 
 
-