Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.util
Class EmptyStatement

java.lang.Object
  extended by org.jboss.errai.codegen.util.EmptyStatement
All Implemented Interfaces:
Statement

public class EmptyStatement
extends Object
implements Statement

An empty statement. Use INSTANCE to obtain an instance of this type.

Author:
Jonathan Fuerth , Mike Brock

Field Summary
static Statement INSTANCE
          Sharable empty statement instance.
 
Method Summary
 String generate(Context context)
          Returns the empty string.
 MetaClass getType()
          Always returns the MetaClass for java.lang.Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final Statement INSTANCE
Sharable empty statement instance.

Method Detail

generate

public String generate(Context context)
Returns the empty string.

Specified by:
generate in interface Statement

getType

public MetaClass getType()
Always returns the MetaClass for java.lang.Object.

Specified by:
getType in interface Statement

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.