Lines Matching defs:oldTree
208 abstract T map(S oldTree, S newTree);
213 abstract void process(S oldTree, T newTree, boolean hasErrors);
234 JCNewClass map(JCNewClass oldTree, JCNewClass newTree) {
242 void process(JCNewClass oldTree, JCNewClass newTree, boolean hasErrors) {
245 if (oldTree.def != null) {
249 explicitArgs = oldTree.def.implementing.nonEmpty()
250 ? oldTree.def.implementing.get(0).type.getTypeArguments()
251 : oldTree.def.extending.type.getTypeArguments();
254 explicitArgs = oldTree.type.getTypeArguments();
263 log.warning(oldTree.clazz, Warnings.DiamondRedundantArgs);
302 JCLambda map (JCNewClass oldTree, JCNewClass newTree){
309 void process (JCNewClass oldTree, JCLambda newTree, boolean hasErrors){
311 log.warning(oldTree.def, Warnings.PotentialLambdaFound);
331 JCMethodInvocation map (JCMethodInvocation oldTree, JCMethodInvocation newTree){
336 void process (JCMethodInvocation oldTree, JCMethodInvocation newTree, boolean hasErrors){
339 log.warning(oldTree, Warnings.MethodRedundantTypeargs);