net.sourceforge.jane.lang
Interface JavaElement

All Known Subinterfaces:
ClassInfo, ConstructorInfo, FieldInfo, MethodInfo
All Known Implementing Classes:
QDoxJavaElement, net.sourceforge.jane.lang.reflection.ElementBase

public interface JavaElement

An interface for objects that represents elements of java.


Method Summary
 java.lang.String getName()
          Returns the name of the element.
 boolean isPackageProtected()
          Returns true if this element is package protected.
 boolean isPrivate()
          Returns true if this element is private.
 boolean isProtected()
          Returns true if this element is protected.
 boolean isPublic()
          Returns true if this element is public.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the element.

isPublic

public boolean isPublic()
Returns true if this element is public.

isProtected

public boolean isProtected()
Returns true if this element is protected.

isPackageProtected

public boolean isPackageProtected()
Returns true if this element is package protected.

isPrivate

public boolean isPrivate()
Returns true if this element is private.


Copyright © 2002-2002 SourceForge. All Rights Reserved.