From 0f5e9f630cac2719325c2ff6954ce855a5dd9506 Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 5 May 1999 21:01:36 +0000 Subject: [PATCH] static classes added git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@782 379699f6-c40d-0410-875b-85095c16579e --- jode/test/InnerCompat.java | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/jode/test/InnerCompat.java b/jode/test/InnerCompat.java index 18fc491..be7a681 100644 --- a/jode/test/InnerCompat.java +++ b/jode/test/InnerCompat.java @@ -1,3 +1,22 @@ +/* InnerCompat Copyright (C) 1999 Jochen Hoenicke. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * + * $Id$ + */ + package jode.test; public class InnerCompat { @@ -32,4 +51,20 @@ public class InnerCompat { void a() { x = 5; } } + private static class privateStatic { + int x; + void a() { x = 5; } + } + protected static class protectedStatic { + int x; + void a() { x = 5; } + } + static class packageStatic { + int x; + void a() { x = 5; } + } + public static class publicStatic { + int x; + void a() { x = 5; } + } }