@Override public IMethod getMethod(String selector, String[] parameterTypeSignatures) { return new AssistSourceMethod(this, selector, parameterTypeSignatures, this.bindingCache, this.infoCache); }
@Override public boolean isResolved() { getKey(); return this.isResolved; }
@Override protected void toStringInfo(int tab, StringBuffer buffer, Object info,boolean showResolvedInfo) { super.toStringInfo(tab, buffer, info, showResolvedInfo && isResolved()); }
protected void toStringInfo(int tab, StringBuffer buffer, Object info,boolean showResolvedInfo) { super.toStringInfo(tab, buffer, info, showResolvedInfo && isResolved()); }
public IMethod getMethod(String selector, String[] parameterTypeSignatures) { return new AssistSourceMethod(this, selector, parameterTypeSignatures, 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 IMethod getMethod(String selector, String[] parameterTypeSignatures) { return new AssistSourceMethod(this, selector, parameterTypeSignatures, 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 IMethod getMethod(String selector, String[] parameterTypeSignatures) { return new AssistSourceMethod(this, selector, parameterTypeSignatures, 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 IMethod getMethod(String selector, String[] parameterTypeSignatures) { return new AssistSourceMethod(this, selector, parameterTypeSignatures, 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 IMethod getMethod(String selector, String[] parameterTypeSignatures) { return new AssistSourceMethod(this, selector, parameterTypeSignatures, this.bindingCache, this.infoCache); }
public boolean isResolved() { getKey(); return this.isResolved; }
protected SourceMethod createMethodHandle(JavaElement parent, MethodInfo methodInfo) { String selector = JavaModelManager.getJavaModelManager().intern(new String(methodInfo.name)); String[] parameterTypeSigs = convertTypeNamesToSigs(methodInfo.parameterTypes); AssistSourceMethod method = new AssistSourceMethod(parent, selector, parameterTypeSigs, this.bindingCache, this.newElements); if (methodInfo.node.binding != null) { this.bindingCache.put(method, methodInfo.node.binding); this.elementCache.put(methodInfo.node.binding, method); } else { this.elementWithProblemCache.put(methodInfo.node, method); } return method; }
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; }