## Uses of Interface
com.sun.mirror.declaration.MethodDeclaration

- Packages that use MethodDeclaration
  Package | Description
  --- | ---
  com.sun.mirror.declaration | Interfaces used to model program element declarations.
  com.sun.mirror.util | Utilities to assist in the processing of declarations and types.

- - ### Uses of MethodDeclaration in com.sun.mirror.declaration

    Subinterfaces of MethodDeclaration in com.sun.mirror.declaration
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `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`.

    Methods in com.sun.mirror.declaration that return types with arguments of type MethodDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `Collection<? extends MethodDeclaration>` | TypeDeclaration.`getMethods()` Deprecated. Returns the methods that are directly declared by this class or interface.
    `Collection<MethodDeclaration>` | ClassDeclaration.`getMethods()` Deprecated. Returns the methods that are directly declared by this class or interface.

  - ### Uses of MethodDeclaration in com.sun.mirror.util

    Methods in com.sun.mirror.util with parameters of type MethodDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | Declarations.`overrides(MethodDeclaration sub, MethodDeclaration sup)` Deprecated. Tests whether one method overrides another.
    `void` | SimpleDeclarationVisitor.`visitMethodDeclaration(MethodDeclaration d)` Deprecated. Visits a method declaration.
    `void` | DeclarationVisitor.`visitMethodDeclaration(MethodDeclaration d)` Deprecated. Visits a method declaration.

Copyright © 2004, 2014, Oracle and/or its affiliates. All rights reserved.