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 |
Java.ModifiersAndAnnotations |
modifiersAndAnnotations |
java.lang.String |
name |
java.util.List |
optionalStatements |
Java.Type[] |
thrownExceptions |
Java.Type |
type |
statiC
NOWHERE
Constructor and Description |
---|
Java.FunctionDeclarator(Location location,
java.lang.String optionalDocComment,
Java.ModifiersAndAnnotations modifiersAndAnnotations,
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. |
void |
setDeclaringType(Java.TypeDeclaration declaringType) |
getDeclaringType, isStatic, setEnclosingScope
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
getLocation, throwCompileException
public final Java.ModifiersAndAnnotations modifiersAndAnnotations
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, Java.ModifiersAndAnnotations modifiersAndAnnotations, Java.Type type, java.lang.String name, Java.FunctionDeclarator.FormalParameter[] formalParameters, Java.Type[] thrownExceptions, java.util.List optionalStatements)
public void setDeclaringType(Java.TypeDeclaration declaringType)
setDeclaringType
in interface Java.TypeBodyDeclaration
setDeclaringType
in class Java.AbstractTypeBodyDeclaration
public Java.Scope getEnclosingScope()
getEnclosingScope
in interface Java.Scope
getEnclosingScope
in class Java.AbstractTypeBodyDeclaration
public java.lang.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