MCPcopy Index your code
hub / github.com/codecombat/codecombat / enableJava

Method enableJava

app/models/User.js:1462–1462  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1460 showChinaRegistration () { return features?.china != null ? features?.china : false }
1461 enableCpp () { return utils.isCodeCombat && (this.hasSubscription() || this.isStudent() || this.isTeacher()) }
1462 enableJava () { return utils.isCodeCombat && (this.hasSubscription() || this.isStudent() || this.isTeacher()) }
1463
1464 getEnabledLanguages () {
1465 const languages = ['javascript', 'python']

Callers 3

getEnabledLanguagesMethod · 0.95
constructorMethod · 0.80
initializeMethod · 0.80

Calls 3

hasSubscriptionMethod · 0.95
isStudentMethod · 0.95
isTeacherMethod · 0.95

Tested by

no test coverage detected