Spec-Zone .ru
спецификации, руководства, описания, API

Mirror API
DRAFT ea-b118

com.sun.mirror.declaration
Interface MethodDeclaration

All Superinterfaces:
Declaration, ExecutableDeclaration, MemberDeclaration
All Known Subinterfaces:
AnnotationTypeElementDeclaration

Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in ExecutableElement.

@Deprecated
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

Method Summary
Modifier and Type Method and Description
 TypeMirror getReturnType()
          Deprecated. Returns the formal return type of this method.
 
Methods inherited from interface com.sun.mirror.declaration.ExecutableDeclaration
getFormalTypeParameters, getParameters, getThrownTypes, isVarArgs
 
Methods inherited from interface com.sun.mirror.declaration.MemberDeclaration
getDeclaringType
 
Methods inherited from interface com.sun.mirror.declaration.Declaration
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
 

Method Detail

getReturnType

TypeMirror getReturnType()
Deprecated. 
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

Mirror API
DRAFT ea-b118

Copyright © 2004, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.