ExecutableElement.@Deprecated public interface MethodDeclaration extends ExecutableDeclaration
| Modifier and Type | Method and Description |
|---|---|
TypeMirror |
getReturnType()
Deprecated.
Returns the formal return type of this method.
|
getFormalTypeParameters, getParameters, getThrownTypes, isVarArgsgetDeclaringTypeaccept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleNameTypeMirror getReturnType()
VoidType if this method does not return a value.
Copyright © 2004, 2020, Oracle and/or its affiliates. All rights reserved.