Searched refs:newAnnotation (Results 1 – 1 of 1) sorted by relevance
175 SingleMemberAnnotation newAnnotation = ast.newSingleMemberAnnotation(); in addSuppressAnnotation() local176 newAnnotation.setTypeName(ast.newSimpleName(local)); in addSuppressAnnotation()179 newAnnotation.setValue(value); in addSuppressAnnotation()182 listRewrite.insertFirst(newAnnotation, null); in addSuppressAnnotation()263 SingleMemberAnnotation newAnnotation = ast.newSingleMemberAnnotation(); in addTargetApiAnnotation() local264 newAnnotation.setTypeName(ast.newSimpleName(local)); in addTargetApiAnnotation()266 newAnnotation.setValue(value); in addTargetApiAnnotation()269 listRewrite.insertFirst(newAnnotation, null); in addTargetApiAnnotation()