Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.literal
Class ArrayLiteral

java.lang.Object
  extended by org.jboss.errai.codegen.literal.LiteralValue<Object>
      extended by org.jboss.errai.codegen.literal.ArrayLiteral
All Implemented Interfaces:
Statement

public class ArrayLiteral
extends LiteralValue<Object>

Renders an array back to it's canonical Java-based literal representation, assuming the contents of the array can be represented as such.

Author:
Mike Brock , Christian Sadilek

Field Summary
 
Fields inherited from class org.jboss.errai.codegen.literal.LiteralValue
clazz
 
Constructor Summary
ArrayLiteral(Object value)
           
 
Method Summary
 String getCanonicalString(Context context)
           
 MetaClass getType()
           
 
Methods inherited from class org.jboss.errai.codegen.literal.LiteralValue
equals, generate, getValue, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayLiteral

public ArrayLiteral(Object value)
Method Detail

getCanonicalString

public String getCanonicalString(Context context)
Specified by:
getCanonicalString in class LiteralValue<Object>

getType

public MetaClass getType()
Specified by:
getType in interface Statement
Overrides:
getType in class LiteralValue<Object>

Errai 3.0.1-SNAPSHOT

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