Class JavacMethodIntrospector

java.lang.Object
org.inferred.freebuilder.processor.model.MethodIntrospector
org.inferred.freebuilder.processor.model.javac.JavacMethodIntrospector

public class JavacMethodIntrospector extends MethodIntrospector
Implementation of MethodIntrospector for javac.
  • Field Details

    • trees

      private final com.sun.source.util.Trees trees
    • OWN_METHOD_INVOCATIONS_FETCHER

      private static final com.sun.source.util.SimpleTreeVisitor<JavacMethodIntrospector.TreeAnalysis,?> OWN_METHOD_INVOCATIONS_FETCHER
      Tree visitor to find all method invocations that are guaranteed to be hit.
    • OWNED_IDENTIFIER

      private static final com.sun.source.util.SimpleTreeVisitor<Name,?> OWNED_IDENTIFIER
      Returns the name of an identifier or a this member selection.
    • RETURN_TREE_FINDER

      private static final com.sun.source.util.TreeScanner<com.sun.source.tree.ReturnTree,?> RETURN_TREE_FINDER
      Tree scanner to return any ReturnTree, or null if none is present.
    • OWN_METHOD_INVOCATIONS_VISITOR

      private static final com.sun.source.util.TreeScanner<?,BiConsumer<com.sun.source.tree.MethodInvocationTree,Name>> OWN_METHOD_INVOCATIONS_VISITOR
  • Constructor Details

    • JavacMethodIntrospector

      private JavacMethodIntrospector(com.sun.source.util.Trees trees)
  • Method Details