@Override
	public void visitMethodDef(JCMethodDecl method) {
		super.visitMethodDef(method);
		if (method.getName().contentEquals("<init>")
				&& !method.getParameters().isEmpty()) {
			
			boolean containsInject = false;
			boolean containsAutowired = false;
			
			for (JCAnnotation jcAnnotation : method.mods.annotations) {
//				System.out.println("annotationType: " + jcAnnotation.annotationType);
//				System.out.println("type: " + jcAnnotation.type);
				
				if(jcAnnotation.annotationType.toString().endsWith("Inject"))
					containsInject = true;
				
				if(jcAnnotation.annotationType.toString().endsWith("Autowired"))
					containsAutowired = true;
			}
			
			if(!containsInject){
				JCAnnotation injectAnnotation = maker.Annotation(utils.createElement("javax.inject.Inject"),List.<JCExpression>nil());
				method.mods.annotations = method.mods.annotations.append(injectAnnotation);
			}

			if(!containsAutowired){
				JCAnnotation autoWiredAnnotation = maker.Annotation(utils.createElement("org.springframework.beans.factory.annotation.Autowired"),List.<JCExpression>nil());
				method.mods.annotations = method.mods.annotations.append(autoWiredAnnotation); 
			}

		}

	}