org.sonar.duplications.statement
Class StatementChannel

java.lang.Object
  extended by org.sonar.duplications.statement.StatementChannel

public final class StatementChannel
extends Object


Method Summary
 boolean consume(TokenQueue tokenQueue, List<Statement> output)
           
static StatementChannel create(TokenMatcher... tokenMatchers)
           
static StatementChannel createBlackHole(TokenMatcher... tokenMatchers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static StatementChannel create(TokenMatcher... tokenMatchers)

createBlackHole

public static StatementChannel createBlackHole(TokenMatcher... tokenMatchers)

consume

public boolean consume(TokenQueue tokenQueue,
                       List<Statement> output)


Copyright © 2009-2012 SonarSource. All Rights Reserved.