Lines Matching refs:minuend
135 public void visitScene(AScene minuend, AScene subtrahend, in visitScene() argument
137 visitElements(minuend.packages, subtrahend.packages, in visitScene()
139 diff(minuend.imports, subtrahend.imports, difference.imports); in visitScene()
140 visitElements(minuend.classes, subtrahend.classes, in visitScene()
146 public Void visitAnnotationDef(AnnotationDef minuend, in visitAnnotationDef() argument
157 public Void visitBlock(ABlock minuend, Pair<AElement, AElement> eltPair) { in visitBlock() argument
160 visitElements(minuend.locals, subtrahend.locals, difference.locals); in visitBlock()
161 return visitExpression(minuend, eltPair); in visitBlock()
169 public Void visitClass(AClass minuend, Pair<AElement, AElement> eltPair) { in visitClass() argument
172 visitElements(minuend.bounds, subtrahend.bounds, difference.bounds); in visitClass()
173 visitElements(minuend.extendsImplements, in visitClass()
175 visitElements(minuend.methods, subtrahend.methods, in visitClass()
177 visitElements(minuend.staticInits, subtrahend.staticInits, in visitClass()
179 visitElements(minuend.instanceInits, subtrahend.instanceInits, in visitClass()
181 visitElements(minuend.fields, subtrahend.fields, difference.fields); in visitClass()
182 visitElements(minuend.fieldInits, subtrahend.fieldInits, in visitClass()
184 return visitDeclaration(minuend, eltPair); in visitClass()
192 public Void visitDeclaration(ADeclaration minuend, in visitDeclaration() argument
196 visitElements(minuend.insertAnnotations, in visitDeclaration()
198 visitElements(minuend.insertTypecasts, subtrahend.insertTypecasts, in visitDeclaration()
200 return visitElement(minuend, eltPair); in visitDeclaration()
208 public Void visitExpression(AExpression minuend, in visitExpression() argument
212 visitElements(minuend.typecasts, subtrahend.typecasts, in visitExpression()
214 visitElements(minuend.instanceofs, subtrahend.instanceofs, in visitExpression()
216 visitElements(minuend.news, subtrahend.news, difference.news); in visitExpression()
217 visitElements(minuend.calls, subtrahend.calls, difference.calls); in visitExpression()
218 visitElements(minuend.refs, subtrahend.refs, difference.refs); in visitExpression()
219 visitElements(minuend.funs, subtrahend.funs, difference.funs); in visitExpression()
220 return visitElement(minuend, eltPair); in visitExpression()
228 public Void visitField(AField minuend, Pair<AElement, AElement> eltPair) { in visitField() argument
229 return visitDeclaration(minuend, eltPair); in visitField()
237 public Void visitMethod(AMethod minuend, in visitMethod() argument
241 visitElements(minuend.bounds, subtrahend.bounds, difference.bounds); in visitMethod()
242 visitElements(minuend.parameters, subtrahend.parameters, in visitMethod()
244 visitElements(minuend.throwsException, subtrahend.throwsException, in visitMethod()
246 visitElements(minuend.parameters, subtrahend.parameters, in visitMethod()
248 visitBlock(minuend.body, in visitMethod()
250 if (minuend.returnType != null) { in visitMethod()
251 minuend.returnType.accept(this, in visitMethod()
254 if (minuend.receiver != null) { in visitMethod()
255 minuend.receiver.accept(this, in visitMethod()
258 return visitDeclaration(minuend, eltPair); in visitMethod()
266 public Void visitTypeElement(ATypeElement minuend, in visitTypeElement() argument
270 visitElements(minuend.innerTypes, subtrahend.innerTypes, in visitTypeElement()
272 return visitElement(minuend, eltPair); in visitTypeElement()
280 public Void visitTypeElementWithType(ATypeElementWithType minuend, in visitTypeElementWithType() argument
282 return visitTypeElement(minuend, eltPair); in visitTypeElementWithType()
290 public Void visitElement(AElement minuend, in visitElement() argument
294 diff(minuend.tlAnnotationsHere, subtrahend.tlAnnotationsHere, in visitElement()
296 if (minuend.type != null) { in visitElement()
299 minuend.type.accept(this, elemPair(stype, dtype)); in visitElement()
309 void visitElements(VivifyingMap<K, V> minuend, in visitElements() argument
311 if (minuend != null) { in visitElements()
312 for (Map.Entry<K, V> e : minuend.entrySet()) { in visitElements()
329 private static <T> void diff(Set<T> minuend, Set<T> subtrahend, in diff() argument
331 if (minuend != null) { in diff()
332 for (T t : minuend) { in diff()
344 private static <K, V> void diff(Map<K, Set<V>> minuend, in diff() argument
346 if (minuend != null) { in diff()
347 for (K key : minuend.keySet()) { in diff()
348 Set<V> mval = minuend.get(key); in diff()