Package proguard.util

Class SimpleFeatureNamedProcessable

    • Field Detail

      • featureName

        public java.lang.String featureName
      • extraFeatureNames

        public java.util.Set<java.lang.String> extraFeatureNames
    • 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: FeatureNamed
        Returns the feature name for this entity.
        Specified by:
        getFeatureName in interface FeatureNamed
      • setFeatureName

        public void setFeatureName​(java.lang.String featureName)
        Description copied from interface: FeatureNamed
        Sets the feature name for this entity.
        Specified by:
        setFeatureName in interface FeatureNamed
        Parameters:
        featureName - the feature Name to be set.
      • addExtraFeatureName

        public void addExtraFeatureName​(java.lang.String featureName)
        Description copied from interface: FeatureNamed
        Adds the feature name to the set of features this entity is part of.
        Specified by:
        addExtraFeatureName in interface FeatureNamed
        Parameters:
        featureName - the feature name to add.
      • getExtraFeatureNames

        public java.util.Set<java.lang.String> getExtraFeatureNames()
        Description copied from interface: FeatureNamed
        Returns the set of feature names for this entity.
        Specified by:
        getExtraFeatureNames in interface FeatureNamed
      • isInFeature

        public boolean isInFeature​(java.lang.String featureName)
        Description copied from interface: FeatureNamed
        Returns whether the entity is part of the given feature.
        Specified by:
        isInFeature in interface FeatureNamed
        Parameters:
        featureName - the name of the feature to check.