Example #1
0
 public SortedSet<FluentMethod> getEffectiveMethods() {
   if (effectiveMethods == null) {
     effectiveMethods = new TreeSet<>(methods);
     removeBaseMethods(effectiveMethods);
   }
   return effectiveMethods;
 }
Example #2
0
 private void filterEffectiveMethods(SortedSet<FluentMethod> effectiveMethods) {
   effectiveMethods.removeAll(getMethods());
   removeBaseMethods(effectiveMethods);
 }