Lines Matching refs:Criteria
41 import annotator.find.Criteria;
165 CriterionList packageClist = clist.add(Criteria.packageDecl(packageName)); in parsePackage()
204 clist = clist.add(Criteria.inClass(className, true)); in parseClass()
205 CriterionList classClist = clistSansClass.add(Criteria.is(Tree.Kind.CLASS, className)); in parseClass()
212 CriterionList boundList = clist.add(Criteria.classBound(className, boundLoc)); in parseClass()
216 CriterionList innerBoundList = boundList.add(Criteria.atLocation(innerLoc)); in parseClass()
219 CriterionList outerClist = boundList.add(Criteria.atLocation()); in parseClass()
223 clist = clist.add(Criteria.inClass(className, /*exactMatch=*/ false)); in parseClass()
229 CriterionList eiList = clist.add(Criteria.atExtImplsLocation(className, eiLoc)); in parseClass()
234 CriterionList innerBoundList = eiList.add(Criteria.atLocation(innerLoc)); in parseClass()
265 parseElement(clist.add(Criteria.field(fieldName, true)), field); in parseField()
268 clist = clist.add(Criteria.field(fieldName, false)); in parseField()
274 clist = clist.add(Criteria.inStaticInit(blockID)); in parseStaticInit()
282 clist = clist.add(Criteria.inInstanceInit(blockID)); in parseInstanceInit()
290 clist = clist.add(Criteria.inFieldInit(fieldName)); in parseFieldInit()
352 Criteria criteria = clist.criteria(); in parseElement()
377 Criteria criteria = clist.criteria(); in parseElement()
470 private boolean noTypePath(Criteria criteria) { in noTypePath()
476 public static boolean isOnReceiver(Criteria criteria) { in isOnReceiver()
485 public static boolean isOnNew(Criteria criteria) { in isOnNew()
497 private static boolean isOnNullaryConstructor(Criteria criteria) { in isOnNullaryConstructor()
525 Criteria criteria) { in createCastInsertion()
558 CriterionList innerClist = clist.add(Criteria.atLocation(innerLoc)); in parseInnerAndOuterElements()
564 outerClist = clist.add(Criteria.atLocation()); in parseInnerAndOuterElements()
610 clist = clist.add(Criteria.inMethod(methodName)); in parseMethod()
616 CriterionList receiverClist = clist.add(Criteria.receiver(methodName)); in parseMethod()
620 CriterionList returnClist = clist.add(Criteria.returnType(className, methodName)); in parseMethod()
627 CriterionList boundClist = clist.add(Criteria.methodBound(methodName, boundLoc)); in parseMethod()
635 CriterionList paramClist = clist.add(Criteria.param(methodName, index)); in parseMethod()
653 CriterionList varClist = clist.add(Criteria.local(methodName, loc)); in parseBlock()
667 CriterionList castClist = clist.add(Criteria.cast(methodName, loc)); in parseExpression()
675 CriterionList newClist = clist.add(Criteria.newObject(methodName, loc)); in parseExpression()
683 CriterionList instanceOfClist = clist.add(Criteria.instanceOf(methodName, loc)); in parseExpression()
692 clist.add(Criteria.memberReference(methodName, loc)); in parseExpression()
701 clist.add(Criteria.methodCall(methodName, loc)); in parseExpression()
709 CriterionList lambdaClist = clist.add(Criteria.lambda(methodName, loc)); in parseExpression()
719 CriterionList paramClist = clist.add(Criteria.param("(anonymous)", index)); in parseLambdaExpression()
733 clist.add(Criteria.astPath(astPath)); in parseASTInsertions()
740 CriterionList insertTypecastClist = clist.add(Criteria.astPath(astPath)); in parseASTInsertions()