public class MethodReference extends MemberReference
comment, indent, outputJS
Constructor and Description |
---|
MethodReference(ReferenceModel model,
ClassReference classReference,
com.google.javascript.rhino.Node node,
String name,
com.google.javascript.rhino.JSDocInfo comment,
boolean isStatic) |
Modifier and Type | Method and Description |
---|---|
void |
emit(StringBuilder sb) |
void |
emitCode(StringBuilder sb) |
protected void |
emitCommentBody(StringBuilder sb) |
Set<String> |
getParameterNames() |
List<ParameterReference> |
getParameters() |
boolean |
isConstructor() |
boolean |
isOverride() |
boolean |
isStatic() |
void |
setStatic(boolean isStatic) |
String |
toReturnTypeAnnotationString() |
String |
transformReturnString() |
getClassReference, isExcluded
emitBlockDescription, emitComment, emitFunctionCommentBody, emitParams, emitReturns, emitSee, emitSeeSourceFileName, getBaseName, getComment, getCurrentFile, getModel, getNode, getPackageName, getQualifiedName, isQualifiedName, mapBackToJS, setComment, setCurrentFile, setNode
public MethodReference(ReferenceModel model, ClassReference classReference, com.google.javascript.rhino.Node node, String name, com.google.javascript.rhino.JSDocInfo comment, boolean isStatic)
public boolean isStatic()
public void setStatic(boolean isStatic)
public List<ParameterReference> getParameters()
public String toReturnTypeAnnotationString()
public void emit(StringBuilder sb)
emit
in class BaseReference
public void emitCode(StringBuilder sb)
public boolean isConstructor()
public String transformReturnString()
public boolean isOverride()
protected void emitCommentBody(StringBuilder sb)
emitCommentBody
in class BaseReference
Copyright © 2016 The Apache Software Foundation. All rights reserved.