public abstract static class Java.FunctionDeclarator extends Java.AbstractTypeBodyDeclaration implements Java.DocCommentable
Java.ConstructorDeclarator and
Java.MethodDeclarator.| Modifier and Type | Class and Description |
|---|---|
static class |
Java.FunctionDeclarator.FormalParameter |
| Modifier and Type | Field and Description |
|---|---|
Java.FunctionDeclarator.FormalParameter[] |
formalParameters |
java.util.Map |
localVariables |
short |
modifiers |
java.lang.String |
name |
java.util.List |
optionalStatements |
Java.Type[] |
thrownExceptions |
Java.Type |
type |
statiCNOWHERE| Constructor and Description |
|---|
Java.FunctionDeclarator(Location location,
java.lang.String optionalDocComment,
short modifiers,
Java.Type type,
java.lang.String name,
Java.FunctionDeclarator.FormalParameter[] formalParameters,
Java.Type[] thrownExceptions,
java.util.List optionalStatements) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDocComment()
Returns the doc comment of the object or
null. |
Java.Scope |
getEnclosingScope() |
boolean |
hasDeprecatedDocTag()
Returns
true if the object has a doc comment and
the @deprecated tag appears in the doc
comment. |
getDeclaringType, isStatic, setDeclaringType, setEnclosingScopegetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptgetLocation, throwCompileExceptionpublic final short modifiers
public final Java.Type type
public final java.lang.String name
public final Java.FunctionDeclarator.FormalParameter[] formalParameters
public final Java.Type[] thrownExceptions
public final java.util.List optionalStatements
public java.util.Map localVariables
public Java.FunctionDeclarator(Location location, java.lang.String optionalDocComment, short modifiers, Java.Type type, java.lang.String name, Java.FunctionDeclarator.FormalParameter[] formalParameters, Java.Type[] thrownExceptions, java.util.List optionalStatements)
public Java.Scope getEnclosingScope()
getEnclosingScope in interface Java.ScopegetEnclosingScope in class Java.AbstractTypeBodyDeclarationpublic java.lang.String getDocComment()
Java.DocCommentablenull.getDocComment in interface Java.DocCommentablepublic boolean hasDeprecatedDocTag()
Java.DocCommentabletrue if the object has a doc comment and
the @deprecated tag appears in the doc
comment.hasDeprecatedDocTag in interface Java.DocCommentableCopyright © 2001-2012. All Rights Reserved.