}
public void acceptLocalType(TypeBinding typeBinding) {
IJavaElement res = null;
if(typeBinding instanceof ParameterizedTypeBinding) {
LocalTypeBinding localTypeBinding = (LocalTypeBinding)((ParameterizedTypeBinding)typeBinding).genericType();
res = findLocalElement(localTypeBinding.sourceStart());
} else if(typeBinding instanceof SourceTypeBinding) {
res = findLocalElement(((SourceTypeBinding)typeBinding).sourceStart());
}
if(res != null && res.getElementType() == IJavaElement.TYPE) {
res = ((JavaElement)res).resolved(typeBinding);