Class ModifiersUtil
java.lang.Object
org.codenarc.util.ModifiersUtil
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClassgetProperty(String property) invokeMethod(String method, Object arguments) static booleanmatchesAnyModifiers(Integer actualModifiers, List<Integer> expectedModifiersList) static booleanmatchesModifiers(Integer actualModifiers, Integer expectedModifiers) static intparseModifiers(String modifiersString) parseModifiersList(String modifiersString) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value)
-
Constructor Details
-
ModifiersUtil
public ModifiersUtil()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
-
getProperty
-
setProperty
-
matchesAnyModifiers
-
matchesModifiers
-
parseModifiersList
-
parseModifiers
-