- All Implemented Interfaces:
- com.google.common.base.Predicate<Var>
- Enclosing class:
- InlineVariables
private static class InlineVariables.IdentifyConstants
extends java.lang.Object
implements com.google.common.base.Predicate<Var>
Filters variables declared as "constant", and declares them in the outer
declaredConstants map.
In Google coding conventions, this means anything declared with @const
or named in all caps, and initialized to an immutable value.
CheckConsts has already verified that these are truly constants.