| ############################################################################### |
| # Copyright (c) 2005, 2007 IBM Corporation and others. |
| # |
| # This program and the accompanying materials are made available under the |
| # terms of the Eclipse Public License v. 2.0 which is available at |
| # http://www.eclipse.org/legal/epl-2.0. |
| # |
| # SPDX-License-Identifier: EPL-2.0 |
| # |
| |
| ############################################################################### |
| |
| class MClass |
| end |
| |
| ## get MClass |
| |
| def top_level |
| end |
| |
| ## get Object%{top_level |
| |
| class MAbc |
| def inst1 |
| end |
| |
| end |
| |
| |
| ## get MAbc%{inst1 |
| |
| |
| class MAbc |
| class << self |
| def meta3 |
| end |
| end |
| |
| def self.meta4 |
| end |
| |
| end |
| |
| ## get MAbc{meta3 |
| ## get MAbc{meta4 |
| |
| class TopGlobal |
| class ::MAbc |
| def inst2 |
| def inst3 |
| end |
| end |
| end |
| def inst1 |
| end |
| end |
| |
| |
| ## get MAbc%{inst2 |
| ## get MAbc%{inst3 |
| ## get TopGlobal%{inst1 |
| |
| def (::TopGlobal).meta1 |
| end |
| |
| ## get TopGlobal{meta1 |
| |
| |