public static Scope combine(Scope scope1, Scope scope2) {
    return Scope.forNumber(scope1.getNumber() & scope2.getNumber());
  }
public static Scope combine ( Scope scope1 , Scope scope2 ) { return Scope . forNumber ( scope1 . getNumber ( ) & scope2 . getNumber ( ) ) ; }
@param scope1 source1
@param scope2 source2
@return combined enum of given enums