Class MethodIntrospector.NoMethodIntrospector

    • Constructor Detail

      • NoMethodIntrospector

        private NoMethodIntrospector()
    • Method Detail

      • getOwnMethodInvocations

        public java.util.Set<javax.lang.model.element.Name> getOwnMethodInvocations​(javax.lang.model.element.ExecutableElement method)
        Description copied from class: MethodIntrospector
        Returns a set of methods which are definitely invoked on this in the given method, or the empty set if method introspection is not supported on this compiler.
        Specified by:
        getOwnMethodInvocations in class MethodIntrospector
      • visitAllOwnMethodInvocations

        public void visitAllOwnMethodInvocations​(javax.lang.model.element.ExecutableElement method,
                                                 MethodIntrospector.OwnMethodInvocationVisitor visitor)
        Description copied from class: MethodIntrospector
        Calls visitor with every method invoked on this in the given method, if method introspection is supported on this compiler.

        The visitor is given the method name, and a logger to log warnings or errors to the user at the method invocation site.

        Specified by:
        visitAllOwnMethodInvocations in class MethodIntrospector