Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mozilla/rhino
/ getDefault
Method
getDefault
rhino/src/main/java/org/mozilla/javascript/ast/Jump.java:49–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
public
Node getDefault() {
50
if
(type != Token.SWITCH) codeBug();
51
return
target2;
52
}
53
54
public
void
setDefault(Node defaultTarget) {
55
if
(type != Token.SWITCH) codeBug();
Callers
8
closeSwitch
Method · 0.95
MessageProviderLanguageTest
Class · 0.80
toLocale_helper
Method · 0.80
getMessage
Method · 0.80
getLocale
Method · 0.80
getTimeZone
Method · 0.80
importClassSucceedsOnScope
Method · 0.80
getMessage
Method · 0.80
Calls
1
codeBug
Method · 0.45
Tested by
1
importClassSucceedsOnScope
Method · 0.64