Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.java.declaration
Interface MemberD  view MemberD download MemberD.java

All Superinterfaces:
Declaration
All Known Subinterfaces:
ClassD, ConstructorD, ExecutableD, FieldD, GenericD, MethodD

public interface MemberD
extends Declaration

A member declaration, part of a type declaration.


Nested Class Summary
 
Nested classes inherited from class javax.ide.model.java.declaration.Declaration
Declaration.DeclarationKind
 
Method Summary
 ClassD getEnclosingClass()
          Gets the declaring class.
 int getModifiers()
          Gets the modifiers for this member.
 boolean isFinal()
          True if this is modified with "final".
 boolean isPrivate()
          True if this is modified with "private".
 boolean isProtected()
          True if this is modified with "protected".
 boolean isPublic()
          True if this is modified with "public".
 boolean isStatic()
          True if this is modified with "static".
 
Methods inherited from interface javax.ide.model.java.declaration.Declaration
getDeclarationKind, getPosition, isSynthetic
 

Method Detail

getEnclosingClass

public ClassD getEnclosingClass()
Gets the declaring class.


getModifiers

public int getModifiers()
Gets the modifiers for this member. May be decoded with java.lang.reflect.Modifier.


isPublic

public boolean isPublic()
True if this is modified with "public".


isPrivate

public boolean isPrivate()
True if this is modified with "private".


isProtected

public boolean isProtected()
True if this is modified with "protected".


isStatic

public boolean isStatic()
True if this is modified with "static".


isFinal

public boolean isFinal()
True if this is modified with "final".