/**
  * {@inheritdoc}
  */
 public function isCandidate(Tokens $tokens)
 {
     $types = array();
     foreach (self::$loops as $loop) {
         $types = array_merge($types, (array) $loop['lookupTokens']);
     }
     return $tokens->isAnyTokenKindsFound($types);
 }
 public function isCandidate(Tokens $tokens)
 {
     return $tokens->isAnyTokenKindsFound(Token::getClassyTokenKinds());
 }
 /**
  * {@inheritdoc}
  */
 public function isCandidate(Tokens $tokens)
 {
     return $tokens->isAnyTokenKindsFound($this->getFunctionyTokens());
 }
 /**
  * {@inheritdoc}
  */
 public function isCandidate(Tokens $tokens)
 {
     return $tokens->isAnyTokenKindsFound(array(T_IS_EQUAL, T_IS_NOT_EQUAL));
 }
 /**
  * {@inheritdoc}
  */
 public function isCandidate(Tokens $tokens)
 {
     return $tokens->isAnyTokenKindsFound(array(T_REQUIRE, T_REQUIRE_ONCE, T_INCLUDE, T_INCLUDE_ONCE));
 }
 /**
  * {@inheritdoc}
  */
 public function isCandidate(Tokens $tokens)
 {
     return $tokens->isAnyTokenKindsFound(array(T_INC, T_DEC));
 }
 /**
  * {@inheritdoc}
  */
 public function isCandidate(Tokens $tokens)
 {
     return $tokens->isAnyTokenKindsFound(array(T_ARRAY, CT_ARRAY_SQUARE_BRACE_OPEN));
 }
 /**
  * {@inheritdoc}
  */
 public function isCandidate(Tokens $tokens)
 {
     return $tokens->isAnyTokenKindsFound(array(T_CASE, T_DEFAULT));
 }
 /**
  * {@inheritdoc}
  */
 public function isCandidate(Tokens $tokens)
 {
     return $tokens->isAnyTokenKindsFound(array(T_COMMENT, T_DOC_COMMENT, T_WHITESPACE));
 }