Commit f51970c 1 parent 8c58281 commit f51970c Copy full SHA for f51970c
File tree 4 files changed +1
-12
lines changed
src/com/google/javascript/rhino
4 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 45
45
46
46
package com .google .javascript .rhino ;
47
47
48
- import com .google .common .annotations .GwtIncompatible ;
49
48
50
49
/**
51
50
* Utility class to hold isJSIdentifier.
55
54
* <p>IMPORTANT: As of 2018-03-09 it is still not possible to use Java 8 features in this file due
56
55
* to limitations on some internal Google projects that depend on it.
57
56
*/
58
- @ GwtIncompatible
59
57
public final class JSIdentifier {
60
58
static boolean isJSIdentifier (String s ) {
61
59
int length = s .length ();
Original file line number Diff line number Diff line change 45
45
import static com .google .common .base .Preconditions .checkState ;
46
46
import static com .google .javascript .jscomp .base .JSCompDoubles .isPositive ;
47
47
48
- import com .google .common .annotations .GwtIncompatible ;
49
48
import com .google .common .annotations .VisibleForTesting ;
50
49
import com .google .common .base .Ascii ;
51
50
import com .google .common .collect .ImmutableMap ;
@@ -2498,7 +2497,6 @@ public final boolean isValidAssignmentTarget() {
2498
2497
}
2499
2498
2500
2499
@ DoNotCall
2501
- @ GwtIncompatible
2502
2500
@ Override
2503
2501
public final Object clone () {
2504
2502
throw new UnsupportedOperationException ("Did you mean cloneNode?" );
Original file line number Diff line number Diff line change 45
45
46
46
package com .google .javascript .rhino ;
47
47
48
- import com .google .common .annotations .GwtIncompatible ;
49
48
import com .google .javascript .jscomp .base .Tri ;
50
49
51
50
/**
52
- * Helper methods for parsing JavaScript. These methods use unsupported features in GWT's emulation
53
- * of java.lang.Character.
54
- *
55
- * <p>TODO(moz): Add a GWT-compatible version in the super-source directory.
51
+ * Helper methods for parsing JavaScript.
56
52
*
57
53
*/
58
- @ GwtIncompatible ("Unsupported java.lang.Character fields" )
59
54
public final class TokenUtil {
60
55
/* As defined in ECMA. jsscan.c uses C isspace() (which allows
61
56
* \v, I think.) note that code in getChar() implicitly accepts
Original file line number Diff line number Diff line change 58
58
***************************************************************/
59
59
package com .google .javascript .rhino .dtoa ;
60
60
61
- import com .google .common .annotations .GwtIncompatible ;
62
61
import java .math .BigInteger ;
63
62
64
- @ GwtIncompatible ("unnecessarily complex" )
65
63
public final class DToA {
66
64
67
65
private static final int
You can’t perform that action at this time.
0 commit comments