- All Superinterfaces:
- All Known Subinterfaces:
public interface MemberDeclaration extends Declaration
Represents a declaration that may be a member or constructor of a declared type. This includes fields, constructors, methods, and (since they may be nested) declared types themselves.
getDeclaringTypeTypeDeclaration getDeclaringType()Returns the type declaration within which this member or constructor is declared. If this is the declaration of a top-level type (a non-nested class or interface), returns null.
- the type declaration within which this member or constructor is declared, or null if there is none