Remove dead code from Attribute.java.
RELNOTES: None
@@ -666,10 +666,6 @@ public final class Attribute implements Comparable<Attribute> {
return defaultValue(defaultValue, null, null);
}
- public boolean isValueSet() {
- return valueSet;
- }
-
/**
* Sets the attribute default value to a computed default value - use this when the default
* value is a function of other attributes of the Rule. The type of the computed default value
@@ -2163,16 +2159,6 @@ public final class Attribute implements Comparable<Attribute> {
return allowedRuleClassesForLabels.asPredicateOfRuleClass();
}
- /**
- * Returns a predicate that evaluates to true for rule classes that are allowed labels in this
- * attribute. If this is not a label or label-list attribute, the returned predicate always
- * evaluates to true.
- */
- // TODO(b/69917891): Remove these methods once checkbuilddeps no longer depends on them.
- public Predicate<String> getAllowedRuleClassNamesPredicate() {
- return allowedRuleClassesForLabels.asPredicateOfRuleClassName();
- }
-
/**
* Returns a predicate that evaluates to true for rule classes that are
* allowed labels in this attribute with warning. If this is not a label or label-list
