程序包 proguard.util
接口 FeatureNamed
-
- 所有已知子接口:
Clazz
public interface FeatureNamedBase 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.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidaddExtraFeatureName(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.StringgetFeatureName()Returns the feature name for this entity.booleanisInFeature(java.lang.String featureName)Returns whether the entity is part of the given feature.voidsetFeatureName(java.lang.String featureName)Sets the feature name for this entity.
-
-
-
方法详细资料
-
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.- 参数:
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.- 参数:
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.- 参数:
featureName- the name of the feature to check.
-
-