Created getMethod() and getProperty() in ClassNode.