예제 #1
0
 @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;
   }
 }
예제 #2
0
 @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;
   }
 }