Class AbstractMethodDetection

    • Constructor Detail

      • AbstractMethodDetection

        public AbstractMethodDetection()
    • Method Detail

      • nodesToVisit

        public List<org.sonar.plugins.java.api.tree.Tree.Kind> nodesToVisit()
        Specified by:
        nodesToVisit in class org.sonar.java.ast.visitors.SubscriptionVisitor
      • visitNode

        public void visitNode​(org.sonar.plugins.java.api.tree.Tree tree)
        Overrides:
        visitNode in class org.sonar.java.ast.visitors.SubscriptionVisitor
      • getMethodInvocationMatchers

        protected abstract List<org.sonar.java.matcher.MethodMatcher> getMethodInvocationMatchers()
      • onMethodInvocationFound

        protected void onMethodInvocationFound​(org.sonar.plugins.java.api.tree.MethodInvocationTree mit)
      • onConstructorFound

        protected void onConstructorFound​(org.sonar.plugins.java.api.tree.NewClassTree newClassTree)
      • onMethodReferenceFound

        protected void onMethodReferenceFound​(org.sonar.plugins.java.api.tree.MethodReferenceTree methodReferenceTree)