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 |
statiCNOWHERE| Constructor and Description |
|---|
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, setEnclosingScopegetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptgetLocation, throwCompileExceptionpublic 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 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.TypeBodyDeclarationsetDeclaringType in class Java.AbstractTypeBodyDeclarationpublic 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.DocCommentable