Class SpaceBeforeClosingBraceRule

  • All Implemented Interfaces:
    groovy.lang.GroovyObject, Rule

    public class SpaceBeforeClosingBraceRule
    extends AbstractAstVisitorRule
    implements groovy.lang.GroovyObject
    • Constructor Detail

      • SpaceBeforeClosingBraceRule

        public SpaceBeforeClosingBraceRule()
    • Method Detail

      • getMetaClass

        public groovy.lang.MetaClass getMetaClass()
        Specified by:
        getMetaClass in interface groovy.lang.GroovyObject
      • setMetaClass

        public void setMetaClass​(groovy.lang.MetaClass mc)
        Specified by:
        setMetaClass in interface groovy.lang.GroovyObject
      • invokeMethod

        public java.lang.Object invokeMethod​(java.lang.String method,
                                             java.lang.Object arguments)
        Specified by:
        invokeMethod in interface groovy.lang.GroovyObject
      • getProperty

        public java.lang.Object getProperty​(java.lang.String property)
        Specified by:
        getProperty in interface groovy.lang.GroovyObject
      • setProperty

        public void setProperty​(java.lang.String property,
                                java.lang.Object value)
        Specified by:
        setProperty in interface groovy.lang.GroovyObject
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Rule
        Specified by:
        getName in class AbstractRule
        Returns:
        the unique name for this rule
      • setName

        public void setName​(java.lang.String value)
        Description copied from class: AbstractRule
        Set the unique name for this rule
        Specified by:
        setName in class AbstractRule
        Parameters:
        value - - the name for this rule; this should be unique
      • getPriority

        public int getPriority()
        Specified by:
        getPriority in interface Rule
        Specified by:
        getPriority in class AbstractRule
        Returns:
        the priority of this rule, between 1 (highest priority) and 3 (lowest priority), inclusive.
      • setPriority

        public void setPriority​(int value)
        Description copied from class: AbstractRule
        Set the priority for this rule
        Specified by:
        setPriority in class AbstractRule
        Parameters:
        value - - the priority of this rule, between 1 (highest priority) and 3 (lowest priority), inclusive.
      • setAstVisitorClass

        public void setAstVisitorClass​(java.lang.Class value)
      • getCheckClosureMapEntryValue

        public boolean getCheckClosureMapEntryValue()
      • isCheckClosureMapEntryValue

        public boolean isCheckClosureMapEntryValue()
      • setCheckClosureMapEntryValue

        public void setCheckClosureMapEntryValue​(boolean value)
      • getIgnoreEmptyBlock

        public boolean getIgnoreEmptyBlock()
      • isIgnoreEmptyBlock

        public boolean isIgnoreEmptyBlock()
      • setIgnoreEmptyBlock

        public void setIgnoreEmptyBlock​(boolean value)