Class VelocimacroProxy

  • All Implemented Interfaces:
    Cloneable

    @Deprecated
    public class VelocimacroProxy
    extends Directive
    Deprecated.
    for removal in PMD 7.0.0
    VelocimacroProxy.java a proxy Directive-derived object to fit with the current directive system
    Version:
    $Id: VelocimacroProxy.java 898032 2010-01-11 19:51:03Z nbubna $
    Author:
    Geir Magnusson Jr.
    • Constructor Detail

      • VelocimacroProxy

        public VelocimacroProxy()
        Deprecated.
    • Method Detail

      • getName

        public String getName()
        Deprecated.
        Return name of this Velocimacro.
        Specified by:
        getName in class Directive
        Returns:
        The name of this Velocimacro.
      • getType

        public int getType()
        Deprecated.
        Velocimacros are always LINE type directives.
        Specified by:
        getType in class Directive
        Returns:
        The type of this directive.
      • setName

        public void setName​(String name)
        Deprecated.
        sets the directive name of this VM
        Parameters:
        name -
      • setArgArray

        public void setArgArray​(String[] arr)
        Deprecated.
        sets the array of arguments specified in the macro definition
        Parameters:
        arr -
      • getNumArgs

        public int getNumArgs()
        Deprecated.
        returns the number of ars needed for this VM
        Returns:
        The number of ars needed for this VM