Package proguard.util
Class SimpleFeatureNamedProcessable
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.util.SimpleFeatureNamedProcessable
-
- All Implemented Interfaces:
java.io.Serializable,FeatureNamed,Processable
- Direct Known Subclasses:
LibraryClass,ProgramClass,ResourceFile
public class SimpleFeatureNamedProcessable extends SimpleProcessable implements FeatureNamed
ASimpleProcessablethat additionally implementsFeatureNamed.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Set<java.lang.String>extraFeatureNamesjava.lang.StringfeatureName-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description SimpleFeatureNamedProcessable()Creates an uninitialized SimpleFeatureNamedProcessable.SimpleFeatureNamedProcessable(java.lang.String featureName, int processingFlags, java.lang.Object processingInfo)Creates an initialized SimpleFeatureNamedProcessable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
Constructor Detail
-
SimpleFeatureNamedProcessable
public SimpleFeatureNamedProcessable()
Creates an uninitialized SimpleFeatureNamedProcessable.
-
SimpleFeatureNamedProcessable
public SimpleFeatureNamedProcessable(java.lang.String featureName, int processingFlags, java.lang.Object processingInfo)Creates an initialized SimpleFeatureNamedProcessable.
-
-
Method Detail
-
getFeatureName
public java.lang.String getFeatureName()
Description copied from interface:FeatureNamedReturns the feature name for this entity.- Specified by:
getFeatureNamein interfaceFeatureNamed
-
setFeatureName
public void setFeatureName(java.lang.String featureName)
Description copied from interface:FeatureNamedSets the feature name for this entity.- Specified by:
setFeatureNamein interfaceFeatureNamed- Parameters:
featureName- the feature Name to be set.
-
addExtraFeatureName
public void addExtraFeatureName(java.lang.String featureName)
Description copied from interface:FeatureNamedAdds the feature name to the set of features this entity is part of.- Specified by:
addExtraFeatureNamein interfaceFeatureNamed- Parameters:
featureName- the feature name to add.
-
getExtraFeatureNames
public java.util.Set<java.lang.String> getExtraFeatureNames()
Description copied from interface:FeatureNamedReturns the set of feature names for this entity.- Specified by:
getExtraFeatureNamesin interfaceFeatureNamed
-
isInFeature
public boolean isInFeature(java.lang.String featureName)
Description copied from interface:FeatureNamedReturns whether the entity is part of the given feature.- Specified by:
isInFeaturein interfaceFeatureNamed- Parameters:
featureName- the name of the feature to check.
-
-