Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can eclipse prevent you from using particular classes?

For example,

  1. I don't want to use org.testng.v6.Maps, (I want com.google.common.collect.Maps)
  2. I don't want to use org.hibernate.mapping.List, (I want java.util.List like everyone else!)

Is there a way to tell Eclipse not to suggest these in the autocomplete box?

like image 599
daveb Avatar asked Jul 23 '09 22:07

daveb


1 Answers

Yup - I have exactly this problem at work for a few classes too.

Preferences -> Java -> Appearance -> Type Filters.

like image 71
Jon Skeet Avatar answered Nov 03 '22 03:11

Jon Skeet