classMethodInterfaces method

List<CodeUnit> classMethodInterfaces()

Implementation

List<CodeUnit> classMethodInterfaces() {
  final result = <CodeUnit>[];
  for (final method in classMethods) {
    if (method.name == className) {
      continue;
    }

    result.add(OCFunction(
        isDeclaration: true,
        depth: depth,
        functionName: method.name,
        isClassMethod: true,
        returnType: method.returnType,
        params: method.parameters));
  }

  return result;
}