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 |
Map |
localVariables |
short |
modifiers |
String |
name |
List |
optionalStatements |
Java.Type[] |
thrownExceptions |
Java.Type |
type |
statiC
NOWHERE
Constructor and Description |
---|
Java.FunctionDeclarator(Location location,
String optionalDocComment,
short modifiers,
Java.Type type,
String name,
Java.FunctionDeclarator.FormalParameter[] formalParameters,
Java.Type[] thrownExceptions,
List optionalStatements) |
Modifier and Type | Method and Description |
---|---|
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, setEnclosingScope
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
getLocation, throwCompileException
public final short modifiers
public final Java.Type type
public final String name
public final Java.FunctionDeclarator.FormalParameter[] formalParameters
public final Java.Type[] thrownExceptions
public final List optionalStatements
public Map localVariables
public Java.Scope getEnclosingScope()
getEnclosingScope
in interface Java.Scope
getEnclosingScope
in class Java.AbstractTypeBodyDeclaration
public String getDocComment()
Java.DocCommentable
null
.getDocComment
in interface Java.DocCommentable
public boolean hasDeprecatedDocTag()
Java.DocCommentable
true
if the object has a doc comment and
the @deprecated
tag appears in the doc
comment.hasDeprecatedDocTag
in interface Java.DocCommentable
Copyright © 2001-2012. All Rights Reserved.