@Override public ICPPMethod[] getImplicitMethods() { try { PDOMClassUtil.MethodCollector methods = new PDOMClassUtil.MethodCollector(true, false); acceptViaCache(fBinding, methods, false); return methods.getMethods(); } catch (CoreException e) { return ICPPMethod.EMPTY_CPPMETHOD_ARRAY; } }
@Override public ICPPMethod[] getDeclaredMethods(IASTNode point) { IScope scope = getCompositeScope(); if (scope instanceof ICPPClassSpecializationScope) { return ((ICPPClassSpecializationScope) scope).getDeclaredMethods(point); } try { PDOMClassUtil.MethodCollector methods = new PDOMClassUtil.MethodCollector(false); PDOMCPPClassScope.acceptViaCache(this, methods, false); return methods.getMethods(); } catch (CoreException e) { CCorePlugin.log(e); return ICPPMethod.EMPTY_CPPMETHOD_ARRAY; } }