Top Description Fields Constructors Methods
org.jruby.ast.java_signature

public Class MethodSignatureNode

extends SignatureNode
Class Inheritance
Imports
java.util.List

Java Method signature declaration

Field Summary

Modifier and TypeField and Description
protected TypeNode
Inherited from org.jruby.ast.java_signature.SignatureNode:
extraTypeInfomodifiersnameparameterListthrowTypes

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public TypeNode
public void
setReturnType(TypeNode returnType)

public String
toString()

Overrides org.jruby.ast.java_signature.SignatureNode.toString.

Returns a string representation of the object.

Inherited from org.jruby.ast.java_signature.SignatureNode:
getModifiersgetNamegetParametersgetThrowssetExtraTypeInfosetModifierssetThrows

Field Detail

returnTypeback to summary
protected TypeNode returnType

Constructor Detail

MethodSignatureNodeback to summary
public MethodSignatureNode(String name, List<ParameterNode> parameterList)

Method Detail

getReturnTypeback to summary
public TypeNode getReturnType()
setReturnTypeback to summary
public void setReturnType(TypeNode returnType)
toStringback to summary
public String toString()

Overrides org.jruby.ast.java_signature.SignatureNode.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override