org.sonar.java.checks
Class CycleBetweenPackagesCheck

java.lang.Object
  extended by org.sonar.java.bytecode.visitor.BytecodeVisitor
      extended by org.sonar.java.checks.CycleBetweenPackagesCheck
All Implemented Interfaces:
org.sonar.squid.api.CodeVisitor

public class CycleBetweenPackagesCheck
extends BytecodeVisitor

Companion of org.sonar.plugins.javang.bridges.DesignBridge which actually does the job on finding cycles and creation of violations.

Since:
3.2

Field Summary
static String RULE_KEY
           
 
Constructor Summary
CycleBetweenPackagesCheck()
           
 
Method Summary
static org.sonar.api.rules.ActiveRule getActiveRule(org.sonar.api.checks.CheckFactory checkFactory)
           
 String toString()
           
 
Methods inherited from class org.sonar.java.bytecode.visitor.BytecodeVisitor
getSourceClass, getSourceFile, getSourceMethod, isMainPublicClassInFile, leaveClass, setSquidIndex, visitClass, visitEdge, visitField, visitMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RULE_KEY

public static final String RULE_KEY
See Also:
Constant Field Values
Constructor Detail

CycleBetweenPackagesCheck

public CycleBetweenPackagesCheck()
Method Detail

getActiveRule

@CheckForNull
public static org.sonar.api.rules.ActiveRule getActiveRule(org.sonar.api.checks.CheckFactory checkFactory)
Returns:
null, if this check is inactive

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012-2014 SonarSource. All Rights Reserved.