question: public static void constantAttributes ( SimpleMethod method , Element element , String ... attributeNames ) throws ValidationException { for ( String name : attributeNames ) { String attributeValue = element . getAttribute ( name ) ; if ( ! MiniLangUtil . isConstantAttribute ( attributeValue ) ) { handleError ( "Constant attribute \"" + name + "\" cannot contain an expression." , method , element ) ; } } }
target:  Tests if element attributes are constant type.