### Question:
BasicTypesLocalVarFilter implements LocalVarFilter { @Override public boolean use(LocalVariable data) { return data.isBasicType(); }  @Override void init(Config config); @Override boolean use(LocalVariable data);  }### Answer:
@Test public void testBasicTypesFilter() { Filter filter = new BasicTypesLocalVarFilter(); LocalVariable basic = new LocalVariable("hello", "B", null); LocalVariable composite = new LocalVariable("hello1", "Lcom/my/Clazz", null); assertTrue(filter.use(basic)); assertFalse(filter.use(composite)); }