synchronized IAnnotationBinding getAnnotationInstance(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding internalInstance) { if (internalInstance == null) return null; ReferenceBinding annotationType = internalInstance.getAnnotationType(); if (!this.isRecoveringBindings) { if (annotationType == null || ((annotationType.tagBits & TagBits.HasMissingType) != 0)) { return null; } } IAnnotationBinding domInstance = (IAnnotationBinding) this.bindingTables.compilerBindingsToASTBindings.get(internalInstance); if (domInstance != null) return domInstance; domInstance = new AnnotationBinding(internalInstance, this); this.bindingTables.compilerBindingsToASTBindings.put(internalInstance, domInstance); return domInstance; }
synchronized IAnnotationBinding getAnnotationInstance(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding internalInstance) { if (internalInstance == null) return null; ReferenceBinding annotationType = internalInstance.getAnnotationType(); if (!this.isRecoveringBindings) { if (annotationType == null || ((annotationType.tagBits & TagBits.HasMissingType) != 0)) { return null; } } IAnnotationBinding domInstance = (IAnnotationBinding) this.bindingTables.compilerBindingsToASTBindings.get(internalInstance); if (domInstance != null) return domInstance; domInstance = new AnnotationBinding(internalInstance, this); this.bindingTables.compilerBindingsToASTBindings.put(internalInstance, domInstance); return domInstance; }
synchronized IAnnotationBinding getAnnotationInstance(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding internalInstance) { if (internalInstance == null) return null; ReferenceBinding annotationType = internalInstance.getAnnotationType(); if (!this.isRecoveringBindings) { if (annotationType == null || ((annotationType.tagBits & TagBits.HasMissingType) != 0)) { return null; } } IAnnotationBinding domInstance = (IAnnotationBinding) this.bindingTables.compilerBindingsToASTBindings.get(internalInstance); if (domInstance != null) return domInstance; domInstance = new AnnotationBinding(internalInstance, this); this.bindingTables.compilerBindingsToASTBindings.put(internalInstance, domInstance); return domInstance; }
synchronized IAnnotationBinding getAnnotationInstance(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding internalInstance) { if (internalInstance == null) return null; ReferenceBinding annotationType = internalInstance.getAnnotationType(); if (!this.isRecoveringBindings) { if (annotationType == null || ((annotationType.tagBits & TagBits.HasMissingType) != 0)) { return null; } } Object key = new AnnotationIdentityBinding(internalInstance); IAnnotationBinding newDomInstance = new AnnotationBinding(internalInstance, this); IAnnotationBinding domInstance = (IAnnotationBinding) ((ConcurrentHashMap)this.bindingTables.compilerAnnotationBindingsToASTBindings).putIfAbsent(key, newDomInstance); return domInstance != null ? domInstance : newDomInstance; }
@Override synchronized IAnnotationBinding getAnnotationInstance(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding internalInstance) { if (internalInstance == null) return null; ReferenceBinding annotationType = internalInstance.getAnnotationType(); if (!this.isRecoveringBindings) { if (annotationType == null || ((annotationType.tagBits & TagBits.HasMissingType) != 0)) { return null; } } Object key = new AnnotationIdentityBinding(internalInstance); IAnnotationBinding newDomInstance = new AnnotationBinding(internalInstance, this); IAnnotationBinding domInstance = (IAnnotationBinding) ((ConcurrentHashMap)this.bindingTables.compilerAnnotationBindingsToASTBindings).putIfAbsent(key, newDomInstance); return domInstance != null ? domInstance : newDomInstance; }
synchronized IAnnotationBinding getAnnotationInstance(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding internalInstance) { if (internalInstance == null) return null; ReferenceBinding annotationType = internalInstance.getAnnotationType(); if (!this.isRecoveringBindings) { if (annotationType == null || ((annotationType.tagBits & TagBits.HasMissingType) != 0)) { return null; } } Object key = new AnnotationIdentityBinding(internalInstance); IAnnotationBinding newDomInstance = new AnnotationBinding(internalInstance, this); IAnnotationBinding domInstance = (IAnnotationBinding) ((ConcurrentHashMap)this.bindingTables.compilerAnnotationBindingsToASTBindings).putIfAbsent(key, newDomInstance); return domInstance != null ? domInstance : newDomInstance; }