public class FunctionReference extends BaseReference
comment, indent, outputJS| Constructor and Description |
|---|
FunctionReference(ReferenceModel model,
com.google.javascript.rhino.Node node,
String qualifiedName,
com.google.javascript.rhino.JSDocInfo comment) |
| Modifier and Type | Method and Description |
|---|---|
void |
addImport(ClassReference reference) |
void |
emit(StringBuilder sb) |
protected void |
emitCommentBody(StringBuilder sb) |
File |
getFile(File asSourceRoot) |
List<ParameterReference> |
getParameters() |
boolean |
hasImport(String qualifiedName) |
boolean |
isOverride() |
boolean |
isStatic() |
void |
setStatic(boolean isStatic) |
String |
transformReturnString() |
emitBlockDescription, emitComment, emitFunctionCommentBody, emitParams, emitReturns, emitSee, emitSeeSourceFileName, getBaseName, getComment, getCurrentFile, getModel, getNode, getPackageName, getQualifiedName, isExcluded, isQualifiedName, mapBackToJS, setComment, setCurrentFile, setNodepublic FunctionReference(ReferenceModel model, com.google.javascript.rhino.Node node, String qualifiedName, com.google.javascript.rhino.JSDocInfo comment)
public boolean isStatic()
public void setStatic(boolean isStatic)
public void emit(StringBuilder sb)
emit in class BaseReferencepublic String transformReturnString()
public boolean isOverride()
protected void emitCommentBody(StringBuilder sb)
emitCommentBody in class BaseReferencepublic void addImport(ClassReference reference)
public List<ParameterReference> getParameters()
public boolean hasImport(String qualifiedName)
Copyright © 2016 The Apache Software Foundation. All rights reserved.