Package proguard.util
Class SimpleFeatureNamedProcessable
java.lang.Object
proguard.util.SimpleProcessable
proguard.util.SimpleFeatureNamedProcessable
- All Implemented Interfaces:
Serializable,FeatureNamed,Processable
- Direct Known Subclasses:
LibraryClass,ProgramClass,ResourceFile
A
SimpleProcessable that additionally implements FeatureNamed.- See Also:
-
Field Summary
FieldsFields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo -
Constructor Summary
ConstructorsConstructorDescriptionCreates an uninitialized SimpleFeatureNamedProcessable.SimpleFeatureNamedProcessable(String featureName, int processingFlags, Object processingInfo) Creates an initialized SimpleFeatureNamedProcessable. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtraFeatureName(String featureName) Adds the feature name to the set of features this entity is part of.Returns the set of feature names for this entity.Returns the feature name for this entity.booleanisInFeature(String featureName) Returns whether the entity is part of the given feature.voidsetFeatureName(String featureName) Sets the feature name for this entity.Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.util.Processable
accept
-
Field Details
-
featureName
-
extraFeatureNames
-
-
Constructor Details
-
SimpleFeatureNamedProcessable
public SimpleFeatureNamedProcessable()Creates an uninitialized SimpleFeatureNamedProcessable. -
SimpleFeatureNamedProcessable
public SimpleFeatureNamedProcessable(String featureName, int processingFlags, Object processingInfo) Creates an initialized SimpleFeatureNamedProcessable.
-
-
Method Details
-
getFeatureName
Description copied from interface:FeatureNamedReturns the feature name for this entity.- Specified by:
getFeatureNamein interfaceFeatureNamed
-
setFeatureName
Description copied from interface:FeatureNamedSets the feature name for this entity.- Specified by:
setFeatureNamein interfaceFeatureNamed- Parameters:
featureName- the feature Name to be set.
-
addExtraFeatureName
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
Description copied from interface:FeatureNamedReturns the set of feature names for this entity.- Specified by:
getExtraFeatureNamesin interfaceFeatureNamed
-
isInFeature
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.
-