@Override public IField getField(String fieldName) { return new AssistSourceField(this, fieldName, this.bindingCache, this.infoCache); }
@Override public boolean isResolved() { getKey(); return this.isResolved; }
protected void toStringInfo(int tab, StringBuffer buffer, Object info,boolean showResolvedInfo) { super.toStringInfo(tab, buffer, info, showResolvedInfo && isResolved()); }
@Override protected void toStringInfo(int tab, StringBuffer buffer, Object info,boolean showResolvedInfo) { super.toStringInfo(tab, buffer, info, showResolvedInfo && isResolved()); }
public IField getField(String fieldName) { return new AssistSourceField(this, fieldName, this.bindingCache, this.infoCache); }
public boolean isResolved() { getKey(); return this.isResolved; }
protected void toStringInfo(int tab, StringBuffer buffer, Object info,boolean showResolvedInfo) { super.toStringInfo(tab, buffer, info, showResolvedInfo && isResolved()); }
public IField getField(String fieldName) { return new AssistSourceField(this, fieldName, this.bindingCache, this.infoCache); }
public boolean isResolved() { getKey(); return this.isResolved; }
protected void toStringInfo(int tab, StringBuffer buffer, Object info,boolean showResolvedInfo) { super.toStringInfo(tab, buffer, info, showResolvedInfo && isResolved()); }
public IField getField(String fieldName) { return new AssistSourceField(this, fieldName, this.bindingCache, this.infoCache); }
public boolean isResolved() { getKey(); return this.isResolved; }
protected void toStringInfo(int tab, StringBuffer buffer, Object info,boolean showResolvedInfo) { super.toStringInfo(tab, buffer, info, showResolvedInfo && isResolved()); }
public IField getField(String fieldName) { return new AssistSourceField(this, fieldName, this.bindingCache, this.infoCache); }
public boolean isResolved() { getKey(); return this.isResolved; }
protected void toStringInfo(int tab, StringBuffer buffer, Object info,boolean showResolvedInfo) { super.toStringInfo(tab, buffer, info, showResolvedInfo && isResolved()); }
public IField getField(String fieldName) { return new AssistSourceField(this, fieldName, this.bindingCache, this.infoCache); }
public boolean isResolved() { getKey(); return this.isResolved; }
protected SourceField createField(JavaElement parent, FieldInfo fieldInfo) { String fieldName = JavaModelManager.getJavaModelManager().intern(new String(fieldInfo.name)); AssistSourceField field = new AssistSourceField(parent, fieldName, this.bindingCache, this.newElements); if (fieldInfo.node.binding != null) { this.bindingCache.put(field, fieldInfo.node.binding); this.elementCache.put(fieldInfo.node.binding, field); } else { this.elementWithProblemCache.put(fieldInfo.node, field); } return field; }
public String getKey() { if (this.uniqueKey == null) { Binding binding = (Binding) this.bindingCache.get(this); if (binding != null) { this.isResolved = true; this.uniqueKey = new String(binding.computeUniqueKey()); } else { this.isResolved = false; try { this.uniqueKey = getKey(this, false/*don't open*/); } catch (JavaModelException e) { // happen only if force open is true return null; } } } return this.uniqueKey; }