org.glassfish.pfl.dynamic.codegen.impl
Class ExpressionFactory.IfExpression

java.lang.Object
  extended by org.glassfish.pfl.dynamic.codegen.impl.AttributedObjectBase
      extended by org.glassfish.pfl.dynamic.codegen.impl.NodeBase
          extended by org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.ExpressionBase
              extended by org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.IfExpression
All Implemented Interfaces:
AttributedObject, ExpressionInternal, Node, Statement, Expression, CopyInterceptor
Enclosing class:
ExpressionFactory

public static final class ExpressionFactory.IfExpression
extends ExpressionFactory.ExpressionBase


Method Summary
 void accept(Visitor visitor)
          Accept the visitor and allow it to perform actions on this Node.
 Expression condition()
           
 Expression falsePart()
           
 String toString()
           
 Expression truePart()
           
 Type type()
           
 
Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.ExpressionBase
copy, copy, isAssignable
 
Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.NodeBase
getAncestor, id, parent, parent, postCopy, preCopy
 
Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.AttributedObjectBase
attributes, get, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.glassfish.pfl.dynamic.codegen.impl.Node
getAncestor, id, parent, parent
 
Methods inherited from interface org.glassfish.pfl.dynamic.codegen.impl.AttributedObject
attributes, get, set
 

Method Detail

condition

public Expression condition()

truePart

public Expression truePart()

falsePart

public Expression falsePart()

type

public Type type()

accept

public void accept(Visitor visitor)
Description copied from interface: Node
Accept the visitor and allow it to perform actions on this Node.

Specified by:
accept in interface Node
Specified by:
accept in class ExpressionFactory.ExpressionBase

toString

public String toString()
Overrides:
toString in class NodeBase


Copyright © 2013 Oracle. All Rights Reserved.