MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / interpretReturn

Method interpretReturn

src/main/java/fieldnashorn/Nashorn.java:193–199  ·  view source on GitHub ↗
(Animatable.AnimationElement was, Object next)

Source from the content-addressed store, hash-verified

191 }
192
193 static public Animatable.AnimationElement noop() {
194 return new Animatable.AnimationElement() {
195 };
196 }
197
198 static public Animatable.AnimationElement interpretReturn(Animatable.AnimationElement was, Object next) {
199 if (next == null) return was;
200 if (next instanceof Animatable.AnimationElement) return (Animatable.AnimationElement) next;
201 Animatable.AnimationElement nextElement = Animatable.interpret(next, was);
202 if (nextElement != null) return nextElement;

Callers 3

beginningMethod · 0.95
middleMethod · 0.95
endMethod · 0.95

Calls 1

interpretMethod · 0.95

Tested by

no test coverage detected