*/
@Override
protected final List< IFlexViolation > findViolationsInCurrentFile()
{
final List< IFlexViolation > violations = new ArrayList< IFlexViolation >();
final IMxmlFile mxml = ( IMxmlFile ) getCurrentFile();
linesInScriptBlock = mxml.getEndingScriptBlock()
- mxml.getBeginningScriptBlock();
if ( linesInScriptBlock >= getThreshold() )
{
addViolation( violations,
new ViolationPosition( mxml.getBeginningScriptBlock(), mxml.getEndingScriptBlock() ) );
}
return violations;
}