View | Details | Raw Unified | Return to bug 140318 | Differences between
and this patch

Collapse All | Expand All

(-)dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java (+2 lines)
Lines 344-349 Link Here
344
	
344
	
345
	synchronized IAnnotationBinding getAnnotationInstance(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding internalInstance) {
345
	synchronized IAnnotationBinding getAnnotationInstance(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding internalInstance) {
346
		if (internalInstance == null) return null;
346
		if (internalInstance == null) return null;
347
		final ReferenceBinding annotationType = internalInstance.getAnnotationType();
348
		if (annotationType == null || !annotationType.isAnnotationType()) return null;
347
		IAnnotationBinding domInstance = 
349
		IAnnotationBinding domInstance = 
348
			(IAnnotationBinding) this.bindingTables.compilerBindingsToASTBindings.get(internalInstance);
350
			(IAnnotationBinding) this.bindingTables.compilerBindingsToASTBindings.get(internalInstance);
349
		if (domInstance != null)
351
		if (domInstance != null)

Return to bug 140318