Package proguard.util
Interface FeatureNamed
-
- All Known Subinterfaces:
Clazz
- All Known Implementing Classes:
KotlinModule
,LibraryClass
,ProgramClass
,ResourceFile
,SimpleFeatureNamedProcessable
public interface FeatureNamed
Base interface for entities that are part of a feature, as indicated by a feature name.The entities can for example be classes and resource files, and the feature can be a dynamic feature in an Android app.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addExtraFeatureName(java.lang.String featureName)
Adds the feature name to the set of features this entity is part of.java.util.Set<java.lang.String>
getExtraFeatureNames()
Returns the set of feature names for this entity.java.lang.String
getFeatureName()
Returns the feature name for this entity.boolean
isInFeature(java.lang.String featureName)
Returns whether the entity is part of the given feature.void
setFeatureName(java.lang.String featureName)
Sets the feature name for this entity.
-
-
-
Method Detail
-
getFeatureName
java.lang.String getFeatureName()
Returns the feature name for this entity.
-
setFeatureName
void setFeatureName(java.lang.String featureName)
Sets the feature name for this entity.- Parameters:
featureName
- the feature Name to be set.
-
addExtraFeatureName
void addExtraFeatureName(java.lang.String featureName)
Adds the feature name to the set of features this entity is part of.- Parameters:
featureName
- the feature name to add.
-
getExtraFeatureNames
java.util.Set<java.lang.String> getExtraFeatureNames()
Returns the set of feature names for this entity.
-
isInFeature
boolean isInFeature(java.lang.String featureName)
Returns whether the entity is part of the given feature.- Parameters:
featureName
- the name of the feature to check.
-
-