Codota Logo
SubscriptionVisitor.scanTree
Code IndexAdd Codota to your IDE (free)

How to use
scanTree
method
in
org.sonar.java.ast.visitors.SubscriptionVisitor

Best Java code snippets using org.sonar.java.ast.visitors.SubscriptionVisitor.scanTree (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: org.codehaus.sonar-plugins.java/java-squid

public int scan(Tree tree) {
 complexity = 0;
 classTrees.clear();
 super.scanTree(tree);
 return complexity;
}
origin: org.sonarsource.java/java-squid

public List<Tree> scan(Tree tree) {
 blame.clear();
 classTrees.clear();
 super.scanTree(tree);
 return blame;
}
origin: org.codehaus.sonar-plugins.java/java-squid

public int scan(ClassTree classTree, MethodTree tree) {
 complexity = 0;
 classTrees.clear();
 classTrees.push(classTree);
 super.scanTree(tree);
 return complexity;
}
origin: org.sonarsource.java/java-squid

public List<Tree> scan(ClassTree classTree, MethodTree tree) {
 blame.clear();
 classTrees.clear();
 classTrees.push(classTree);
 super.scanTree(tree);
 return blame;
}
origin: SonarSource/sonar-java

@Override
public void scanFile(JavaFileScannerContext context) {
 setContext(context);
 scanTree(context.getTree());
}
origin: org.sonarsource.java/java-frontend

@Override
public void scanFile(JavaFileScannerContext context) {
 setContext(context);
 scanTree(context.getTree());
}
origin: org.sonarsource.java/java-squid

@Override
public void scanFile(JavaFileScannerContext context) {
 this.context = context;
 semanticModel = (SemanticModel) context.getSemanticModel();
 scanTree(context.getTree());
}
origin: org.codehaus.sonar-plugins.java/java-squid

@Override
public void scanFile(JavaFileScannerContext context) {
 this.context = context;
 semanticModel = (SemanticModel) context.getSemanticModel();
 scanTree(context.getTree());
 visitTokens(context.getTree());
}
org.sonar.java.ast.visitorsSubscriptionVisitorscanTree

Popular methods of SubscriptionVisitor

  • isSubscribed
  • leaveNode
  • nodesToVisit
  • scanFile
  • visit
  • visitChildren
  • visitNode
  • visitToken
  • visitTrivia
  • isVisitingTokens
  • isVisitingTrivia
  • leaveFile
  • isVisitingTrivia,
  • leaveFile,
  • setContext,
  • visitTokens

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getApplicationContext (Context)
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JFrame (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now