org.openide.src
Interface MemberElement.Impl

All Superinterfaces:
Element.Impl, Serializable
All Known Subinterfaces:
ClassElement.Impl, ConstructorElement.Impl, FieldElement.Impl, MethodElement.Impl
Enclosing class:
MemberElement

public static interface MemberElement.Impl
extends Element.Impl

Pluggable implementation of member elements.

See Also:
MemberElement

Field Summary
static long serialVersionUID
           
 
Method Summary
 int getModifiers()
          Get the modifier flags for this element.
 Identifier getName()
          Get the name of this member.
 void setModifiers(int mod)
          Set the modifier flags for this element.
 void setName(Identifier name)
          Set the name of this member.
 
Methods inherited from interface org.openide.src.Element.Impl
addPropertyChangeListener, attachedToElement, getCookie, markCurrent, readResolve, removePropertyChangeListener
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Method Detail

getModifiers

public int getModifiers()
Get the modifier flags for this element. Constrained by MemberElement.getModifiersMask().
Returns:
disjunction of constants from Modifier

setModifiers

public void setModifiers(int mod)
                  throws SourceException
Set the modifier flags for this element.
Parameters:
mod - disjunction of constants from Modifier
Throws:
SourceException - if impossible (e.g. if mod & ~ memberElt.getModifiersMask() != 0)

getName

public Identifier getName()
Get the name of this member.
Returns:
the name

setName

public void setName(Identifier name)
             throws SourceException
Set the name of this member.
Parameters:
name - the name
Throws:
SourceException - if impossible


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.