returns whether link stamping is enabled for a rule . this returns false for unstampable rule classes and for rules in the host configuration . otherwise it returns the value of the stamp attribute , or of the stamp option if the attribute value is -1 . concode_field_sep PlaceHolder placeHolder concode_field_sep Iterable<S> filterByProvider concode_elem_sep Iterable<C> getProviders concode_elem_sep NestedSet<Artifact> getMiddlemanFor concode_elem_sep PathFragment getUniqueDirectory concode_elem_sep void checkProvider concode_elem_sep PathFragment getManifestPathFromFilesetPath
boolean function ( RuleContext arg0 , BuildConfiguration arg1 ) { if ( arg1 . isHostConfiguration ( ) || ! arg0 . attributes ( ) . has ( "srini_string" , BuildType . TRISTATE ) ) { return false ; } TriState loc0 = arg0 . attributes ( ) . get ( "srini_string" , BuildType . TRISTATE ) ; return loc0 == TriState . YES || ( loc0 == TriState . AUTO && arg1 . stampBinaries ( ) ) ; }