Class Placeholder<R>

  • Type Parameters:
    R - the type of the result of the expression
    All Implemented Interfaces:
    java.io.Serializable, Expression<R>, Node

    public class Placeholder<R>
    extends AbstractDeferredExpression<R>
    Represents and unresolved expression which is simply identified by its name.
    See Also:
    Serialized Form
    • Method Detail

      • ofName

        public static <R> Placeholder<R> ofName​(java.lang.String name)
      • ofClass

        public static <R> Placeholder<R> ofClass​(java.lang.Class<R> clazz)
      • getChildren

        public java.util.List<? extends Node> getChildren()
        Description copied from interface: Node
        Has to return the children of the node. This must never return null
        Returns:
        a list containing all the children of the node
      • name

        public java.lang.String name()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object