I got the impression that Lombok was just creating Java, so what did you try? (I donβt, but just curious). However, if you get rid of the findViewById template type, you can take a look at RoboGuice . He does a lot more, but one of the subtleties that she adds is changing something like:
TextView tv = (TextView) findViewById(R.id.my_textview);
in
@InjectView(R.id.my_textview) TextView tv;
source share