net.sourceforge.jane.lang.jjtree
Class JJTreeMethodInfo

java.lang.Object
  |
  +--net.sourceforge.jane.lang.jjtree.JJTreeMethodInfo
All Implemented Interfaces:
JavaElement, MethodInfo

public class JJTreeMethodInfo
extends java.lang.Object
implements MethodInfo

A MethodInfo built from a JJTree.


Constructor Summary
JJTreeMethodInfo(Jane aJane, java.lang.String aPackageName, JavaMethodDeclaration aMethodDeclaration)
          Create a new JJTreeMethodInfo.
 
Method Summary
 Classes getExceptions()
          Returns the exception thrown by this method.
 java.lang.String getName()
          Returns the name of the element.
 Parameters getParameters()
          Returns the parameters of this method.
 ClassInfo getReturnType()
          Returns the return type of this method.
 boolean isAbstract()
          Returns true if this method is abstract.
 boolean isFinal()
          Returns true if this method is final.
 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.
 boolean isStatic()
          Returns true if this method is static.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JJTreeMethodInfo

public JJTreeMethodInfo(Jane aJane,
                        java.lang.String aPackageName,
                        JavaMethodDeclaration aMethodDeclaration)
Create a new JJTreeMethodInfo.
Method Detail

getExceptions

public Classes getExceptions()
Description copied from interface: MethodInfo
Returns the exception thrown by this method.
Specified by:
getExceptions in interface MethodInfo
See Also:
MethodInfo.getExceptions()

getParameters

public Parameters getParameters()
Description copied from interface: MethodInfo
Returns the parameters of this method.
Specified by:
getParameters in interface MethodInfo
See Also:
MethodInfo.getParameters()

getReturnType

public ClassInfo getReturnType()
Description copied from interface: MethodInfo
Returns the return type of this method.
Specified by:
getReturnType in interface MethodInfo
See Also:
MethodInfo.getReturnType()

isAbstract

public boolean isAbstract()
Description copied from interface: MethodInfo
Returns true if this method is abstract.
Specified by:
isAbstract in interface MethodInfo
See Also:
MethodInfo.isAbstract()

isFinal

public boolean isFinal()
Description copied from interface: MethodInfo
Returns true if this method is final.
Specified by:
isFinal in interface MethodInfo
See Also:
MethodInfo.isFinal()

isStatic

public boolean isStatic()
Description copied from interface: MethodInfo
Returns true if this method is static.
Specified by:
isStatic in interface MethodInfo
See Also:
MethodInfo.isStatic()

getName

public java.lang.String getName()
Description copied from interface: JavaElement
Returns the name of the element.
Specified by:
getName in interface JavaElement
See Also:
JavaElement.getName()

isPackageProtected

public boolean isPackageProtected()
Description copied from interface: JavaElement
Returns true if this element is package protected.
Specified by:
isPackageProtected in interface JavaElement
See Also:
JavaElement.isPackageProtected()

isPrivate

public boolean isPrivate()
Description copied from interface: JavaElement
Returns true if this element is private.
Specified by:
isPrivate in interface JavaElement
See Also:
JavaElement.isPrivate()

isProtected

public boolean isProtected()
Description copied from interface: JavaElement
Returns true if this element is protected.
Specified by:
isProtected in interface JavaElement
See Also:
JavaElement.isProtected()

isPublic

public boolean isPublic()
Description copied from interface: JavaElement
Returns true if this element is public.
Specified by:
isPublic in interface JavaElement
See Also:
JavaElement.isPublic()


Copyright © 2002-2002 SourceForge. All Rights Reserved.