Enum AbiGenerationMode

    • Enum Constant Detail

      • CLASS

        public static final AbiGenerationMode CLASS
        Generate ABIs by stripping .class files
      • SOURCE

        public static final AbiGenerationMode SOURCE
        Generate ABIs by parsing .java files with dependency ABIs available
      • MIGRATING_TO_SOURCE_ONLY

        public static final AbiGenerationMode MIGRATING_TO_SOURCE_ONLY
        Output warnings for things that aren't legal when generating ABIs from source without dependency ABIs
      • SOURCE_ONLY

        public static final AbiGenerationMode SOURCE_ONLY
        Generate ABIs by parsing .java files without dependency ABIs available (has some limitations)
    • Method Detail

      • values

        public static AbiGenerationMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AbiGenerationMode c : AbiGenerationMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AbiGenerationMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • checkForSourceOnlyAbiCompatibility

        public boolean checkForSourceOnlyAbiCompatibility()
      • getDiagnosticKindForSourceOnlyAbiCompatibility

        public Diagnostic.Kind getDiagnosticKindForSourceOnlyAbiCompatibility()
      • isSourceAbi

        public boolean isSourceAbi()
      • usesDependencies

        public boolean usesDependencies()