Top Description Fields Constructors Methods
com.sun.codemodel

pack-priv Class JReturn

extends Object
implements JStatement
Class Inheritance
All Implemented Interfaces
com.sun.codemodel.JStatement

A return statement

Field Summary

Modifier and TypeField and Description
private JExpression
expr

JExpression to return; may be null.

Constructor Summary

AccessConstructor and Description
pack-priv
JReturn(JExpression
JExpression which evaluates to return value
expr
)

JReturn constructor

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

exprback to summary
private JExpression expr

JExpression to return; may be null.

Constructor Detail

JReturnback to summary
pack-priv JReturn(JExpression expr)

JReturn constructor

Parameters
expr:JExpression

JExpression which evaluates to return value

Method Detail

stateback to summary
public void state(JFormatter f)

Implements com.sun.codemodel.JStatement.state.

Annotations
@Override