Refine search
public static Collection< Artifact > filterArtifacts( @NonNull Iterable< Artifact > artifacts, final boolean skipDependencies, @Nullable final Collection< String > includeArtifactTypes, @Nullable final Collection< String > excludeArtifactTypes, @Nullable final Collection< String > includeArtifactQualifiers, @Nullable final Collection< String > excludeArtifactQualifiers )
/** * Parse the file pointed to by the given context and return as a Document * * @param context the context pointing to the file to be parsed, typically * via {@link Context#getContents()} but the file handle ( * {@link Context#file} can also be used to map to an existing * editor buffer in the surrounding tool, etc) * @return the parsed DOM document, or null if parsing fails */ @Nullable public abstract Document parseXml(@NonNull XmlContext context);
/** * Returns the fully qualified name of the parent view, or null if the view * is the root android.view.View class. * * @param fqcn the fully qualified class name of the view * @return the fully qualified class name of the parent view, or null */ @Nullable public abstract String getParentViewClass(@NonNull String fqcn);
/** * Sets the proguard output file. See * {@link AbstractAapt#validatePackageConfig(AaptPackageConfig)} for details on field rules. * * @param proguardOutputFile the proguard output file * @return {@code this} */ @NonNull public Builder setProguardOutputFile(@Nullable File proguardOutputFile) { mConfig.mProguardOutputFile = proguardOutputFile; return this; }
/** * Sets the build tool information. See * {@link AbstractAapt#validatePackageConfig(AaptPackageConfig)} for details on field rules. * * @param buildToolInfo the build tool information * @return {@code this} */ @NonNull public Builder setBuildToolInfo(@Nullable BuildToolInfo buildToolInfo) { mConfig.mBuildToolInfo = buildToolInfo; return this; }
public ShardedTestListener(int shard, @NonNull String deviceName, @NonNull String projectName, @NonNull String flavorName, @Nullable ILogger logger) { super(deviceName, projectName, flavorName, logger); name = "TEST-" + deviceName + "-" + projectName + "-" + flavorName + "-shard-" + shard + ".xml"; }
private DxDexKey( @NonNull File sourceFile, @NonNull Revision buildToolsRevision, boolean jumboMode, boolean optimize, @NonNull Iterable<String> additionalParameters, @Nullable Boolean isMultiDex) { super(sourceFile, buildToolsRevision, jumboMode, optimize); mAdditionalParameters = ImmutableSortedSet.copyOf(additionalParameters);; mIsMultiDex = isMultiDex; }
public AtomDependency( @NonNull File artifactFile, @NonNull MavenCoordinates coordinates, @NonNull String name, @Nullable String projectPath, @NonNull File extractedFolder, @NonNull String atomName, @Nullable String variant) { super(artifactFile, coordinates, name, projectPath, extractedFolder, variant); this.atomName = atomName; hashCode = computeHashCode(); }