// AMC these next two lines shouldn't be needed once we sort out generic types properly in the world map
ResolvedType realDeclaringType = world.resolve(fromBinding(declaringType));
if (realDeclaringType.isRawType()) realDeclaringType = realDeclaringType.getGenericType();
- ResolvedMemberImpl ret = new ResolvedMemberImpl(
+ ResolvedMemberImpl ret = new EclipseResolvedMember(binding,
memberKind,
realDeclaringType,
binding.modifiers,
this.rawTypeXToBinding.clear();
this.finishedTypeMungers = null;
}
+
+ public void minicleanup() {
+ this.typexToBinding.clear();
+ this.rawTypeXToBinding.clear();
+ }
+
}