Class ExternalCanIgnoreReturnValue


  • public final class ExternalCanIgnoreReturnValue
    extends ResultUseRule.MethodRule
    External source of information about @CanIgnoreReturnValue-equivalent API's.
    • Method Detail

      • externalIgnoreList

        public static ResultUseRule externalIgnoreList()
        Returns a rule using an external list of APIs to ignore.
      • surroundingClass

        public static String surroundingClass​(com.sun.tools.javac.code.Symbol.MethodSymbol methodSymbol)
      • methodNameAndParams

        public static String methodNameAndParams​(com.sun.tools.javac.code.Symbol.MethodSymbol methodSymbol,
                                                 com.sun.tools.javac.code.Types types)