|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.ide.common.repository.ResourceVisibilityLookup.Provider
public static class ResourceVisibilityLookup.Provider
Provider which keeps a set of ResourceVisibilityLookup instances around for
repeated queries, including from different libraries that may share dependencies
| Constructor Summary | |
|---|---|
ResourceVisibilityLookup.Provider()
|
|
| Method Summary | |
|---|---|
ResourceVisibilityLookup |
get(com.android.builder.model.AndroidArtifact artifact)
Looks up a (possibly cached) ResourceVisibilityLookup for the given AndroidArtifact |
ResourceVisibilityLookup |
get(com.android.builder.model.AndroidLibrary library)
Looks up a (possibly cached) ResourceVisibilityLookup for the given AndroidLibrary |
ResourceVisibilityLookup |
get(com.android.builder.model.AndroidProject project,
com.android.builder.model.Variant variant)
Looks up a (possibly cached) ResourceVisibilityLookup for the given AndroidArtifact |
static boolean |
isVisibilityAwareModel(com.android.builder.model.AndroidProject project)
Returns true if the given Gradle model is compatible with public resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceVisibilityLookup.Provider()
| Method Detail |
|---|
@NonNull
public ResourceVisibilityLookup get(@NonNull
com.android.builder.model.AndroidLibrary library)
ResourceVisibilityLookup for the given AndroidLibrary
library - the library
ResourceVisibilityLookup
@NonNull
public ResourceVisibilityLookup get(@NonNull
com.android.builder.model.AndroidArtifact artifact)
ResourceVisibilityLookup for the given AndroidArtifact
artifact - the artifact
ResourceVisibilityLookup
public static boolean isVisibilityAwareModel(@NonNull
com.android.builder.model.AndroidProject project)
project - the project to check
@NonNull
public ResourceVisibilityLookup get(@NonNull
com.android.builder.model.AndroidProject project,
@NonNull
com.android.builder.model.Variant variant)
ResourceVisibilityLookup for the given AndroidArtifact
project - the project
ResourceVisibilityLookup
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||