def get_interface(self, name): """ :rtype: JavaInterface """ return find(self.interfaces, lambda m: m.name == name)
def get_method(self, name): """ :rtype: Method """ return find(self.methods, lambda m: m.name == name)
def get_class(self, name): """ :rtype: Class """ return find(self.classes, lambda m: m.name == name)