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

Packages that use MemberDeclaration
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 MemberDeclaration in com.sun.mirror.declaration

Subinterfaces of MemberDeclaration in com.sun.mirror.declaration
Modifier and Type
Interface
Description
`interface`
`AnnotationTypeDeclaration`
Represents the declaration of an annotation type.
`interface`
`AnnotationTypeElementDeclaration`
Represents an element of an annotation type.
`interface`
`ClassDeclaration`
Represents the declaration of a class.
`interface`
`ConstructorDeclaration`
Represents a constructor of a class or interface.
`interface`
`EnumConstantDeclaration`
Represents an enum constant declaration.
`interface`
`EnumDeclaration`
Represents the declaration of an enum type.
`interface`
`ExecutableDeclaration`
Represents a method or constructor of a class or interface.
`interface`
`FieldDeclaration`
Represents a field of a type declaration.
`interface`
`InterfaceDeclaration`
Represents the declaration of an interface.
`interface`
`MethodDeclaration`
Represents a method of a class or interface.
`interface`
`TypeDeclaration`
Represents the declaration of a class or interface.

## Uses of MemberDeclaration in com.sun.mirror.util

Methods in com.sun.mirror.util with parameters of type MemberDeclaration
Modifier and Type
Method
Description
`boolean`
Declarations.`hides(MemberDeclaration sub, MemberDeclaration sup)`
Tests whether one type, method, or field declaration hides another.
`void`
DeclarationVisitor.`visitMemberDeclaration(MemberDeclaration d)`
Visits a member or constructor declaration.
`void`
SimpleDeclarationVisitor.`visitMemberDeclaration(MemberDeclaration d)`
Visits a member or constructor declaration.