Class ExpressionFactory.ConstantExpression
- java.lang.Object
-
- org.glassfish.pfl.dynamic.codegen.impl.AttributedObjectBase
-
- org.glassfish.pfl.dynamic.codegen.impl.NodeBase
-
- org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.ExpressionBase
-
- org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.ConstantExpression
-
- All Implemented Interfaces:
AttributedObject,ExpressionInternal,Node,Statement,Expression,CopyInterceptor
- Enclosing class:
- ExpressionFactory
public static final class ExpressionFactory.ConstantExpression extends ExpressionFactory.ExpressionBase
Class that represents a constant value of any primitive type, a String, or a Class.
-
-
Constructor Summary
Constructors Constructor Description ConstantExpression(ExpressionFactory ef, Type type, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)Accept the visitor and allow it to perform actions on this Node.java.lang.StringtoString()Typetype()java.lang.Objectvalue()-
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.AttributedObject
attributes, get, set
-
Methods inherited from interface org.glassfish.pfl.dynamic.codegen.impl.Node
getAncestor, id, parent, parent
-
-
-
-
Field Detail
-
type
private Type type
-
value
private java.lang.Object value
-
-
Constructor Detail
-
ConstantExpression
ConstantExpression(ExpressionFactory ef, Type type, java.lang.Object value)
-
-
Method Detail
-
value
public java.lang.Object value()
-
type
public Type type()
-
-