01: // Copyright 2006 The Apache Software Foundation
02: //
03: // Licensed under the Apache License, Version 2.0 (the "License");
04: // you may not use this file except in compliance with the License.
05: // You may obtain a copy of the License at
06: //
07: // http://www.apache.org/licenses/LICENSE-2.0
08: //
09: // Unless required by applicable law or agreed to in writing, software
10: // distributed under the License is distributed on an "AS IS" BASIS,
11: // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12: // See the License for the specific language governing permissions and
13: // limitations under the License.
14:
15: package org.apache.tapestry.internal.services;
16:
17: import org.apache.tapestry.annotations.Retain;
18:
19: /**
20: * Used to test some issues related to visibility.
21: *
22: *
23: */
24: public class VisibilityBean {
25: // Got to some real effort to provoke some name collisions!
26:
27: @Retain
28: public static int _$myStatic;
29:
30: @Retain
31: protected String _$myProtected;
32:
33: @Retain
34: String _$myPackagePrivate;
35:
36: @Retain
37: public String _$myPublic;
38:
39: @Retain
40: private long _$myLong;
41:
42: public long getMyLong() {
43: return _$myLong;
44: }
45:
46: public void setMyLong(long myLong) {
47: _$myLong = myLong;
48: }
49:
50: }
|