MCPcopy Index your code
hub / github.com/clojure/clojure / isMutable

Method isMutable

src/jvm/clojure/lang/Compiler.java:5520–5524  ·  view source on GitHub ↗
(LocalBinding lb)

Source from the content-addressed store, hash-verified

5518 }
5519
5520 boolean isMutable(LocalBinding lb){
5521 return isVolatile(lb) ||
5522 RT.booleanCast(RT.contains(fields, lb.sym)) &&
5523 RT.booleanCast(RT.get(lb.sym.meta(), Keyword.intern("unsynchronized-mutable")));
5524 }
5525
5526 boolean isVolatile(LocalBinding lb){
5527 return RT.booleanCast(RT.contains(fields, lb.sym)) &&

Callers 3

compileMethod · 0.95
emitAssignLocalMethod · 0.95
compileStubMethod · 0.80

Calls 6

isVolatileMethod · 0.95
booleanCastMethod · 0.95
containsMethod · 0.95
getMethod · 0.95
internMethod · 0.95
metaMethod · 0.65

Tested by

no test coverage detected