public final class InferNullsafe extends ModernBuildRule<com.facebook.buck.infer.InferNullsafe.Impl>
#nullsafe
flavor for a Java rule that performs Infer's Nullsafe analysis for the rule.
The result of the analysis is captured in a JSON file generated by the rule.
Modifier and Type | Field and Description |
---|---|
static Flavor |
INFER_NULLSAFE |
Modifier and Type | Method and Description |
---|---|
static InferNullsafe |
create(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
ActionGraphBuilder graphBuilder,
JavacOptions javacOptions,
Optional<ExtraClasspathProvider> extraClasspathProvider,
UnresolvedInferPlatform unresolvedInferPlatform,
InferConfig config)
Builds
InferNullsafe rule with a properly setup dependency on base library. |
SourcePath |
getSourcePathToOutput() |
compareTo, getBuildable, getBuildCellPathFactory, getBuildDeps, getBuildSteps, getOutputPathResolver, getSetupStepsForBuildable, getSourcePath, getSourcePaths, injectFieldsIfNecessary, inputBasedRuleKeyIsEnabled, recordOutputs, recordOutputs, recordOutputs, stepsForBuildable, stepsForBuildable, updateBuildRuleResolver
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isSupported
getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString
getDependencies, getSourcePathOutputs
getType
public static final Flavor INFER_NULLSAFE
public static InferNullsafe create(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, ActionGraphBuilder graphBuilder, JavacOptions javacOptions, Optional<ExtraClasspathProvider> extraClasspathProvider, UnresolvedInferPlatform unresolvedInferPlatform, InferConfig config)
InferNullsafe
rule with a properly setup dependency on base library.
Requires javacOptions
to have fully configured {code bootclasspath}. For Android
bootclasspath usually provided separately via extraClasspathProviderSupplier
.
@Nullable public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
getSourcePathToOutput
in class ModernBuildRule<com.facebook.buck.infer.InferNullsafe.Impl>