Class Block

  • All Implemented Interfaces:
    Cloneable
    Direct Known Subclasses:
    BlockMacro, Define

    @Deprecated
    public abstract class Block
    extends Directive
    Deprecated.
    for removal in PMD 7.0.0
    Directive that puts an unrendered AST block in the context under the specified key, postponing rendering until the reference is used and rendered.
    Since:
    1.7
    Version:
    $Id: Block.java 686842 2008-08-18 18:29:31Z nbubna $
    Author:
    Andrew Tetlaw, Nathan Bubna, Jarkko Viinamaki
    • Field Detail

      • key

        protected String key
        Deprecated.
    • Constructor Detail

      • Block

        public Block()
        Deprecated.
    • Method Detail

      • getType

        public int getType()
        Deprecated.
        Return type of this directive.
        Specified by:
        getType in class Directive
        Returns:
        The directive type BLOCK/LINE.