|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jane.lang.jjtree.JJTreeMethodInfo
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 |
public JJTreeMethodInfo(Jane aJane, java.lang.String aPackageName, JavaMethodDeclaration aMethodDeclaration)
JJTreeMethodInfo
.Method Detail |
public Classes getExceptions()
MethodInfo
getExceptions
in interface MethodInfo
MethodInfo.getExceptions()
public Parameters getParameters()
MethodInfo
getParameters
in interface MethodInfo
MethodInfo.getParameters()
public ClassInfo getReturnType()
MethodInfo
getReturnType
in interface MethodInfo
MethodInfo.getReturnType()
public boolean isAbstract()
MethodInfo
true
if this method is abstract.isAbstract
in interface MethodInfo
MethodInfo.isAbstract()
public boolean isFinal()
MethodInfo
true
if this method is final.isFinal
in interface MethodInfo
MethodInfo.isFinal()
public boolean isStatic()
MethodInfo
true
if this method is static.isStatic
in interface MethodInfo
MethodInfo.isStatic()
public java.lang.String getName()
JavaElement
getName
in interface JavaElement
JavaElement.getName()
public boolean isPackageProtected()
JavaElement
true
if this element is package protected.isPackageProtected
in interface JavaElement
JavaElement.isPackageProtected()
public boolean isPrivate()
JavaElement
true
if this element is private.isPrivate
in interface JavaElement
JavaElement.isPrivate()
public boolean isProtected()
JavaElement
true
if this element is protected.isProtected
in interface JavaElement
JavaElement.isProtected()
public boolean isPublic()
JavaElement
true
if this element is public.isPublic
in interface JavaElement
JavaElement.isPublic()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |