@@ -20,7 +20,7 @@ static class Unwrapping {
20
20
public Location location ;
21
21
22
22
public Unwrapping () { }
23
- public Unwrapping (String str , int x , int y ) {
23
+ protected Unwrapping (String str , int x , int y ) {
24
24
name = str ;
25
25
location = new Location (x , y );
26
26
}
@@ -32,7 +32,7 @@ static class DeepUnwrapping
32
32
public Unwrapping unwrapped ;
33
33
34
34
public DeepUnwrapping () { }
35
- public DeepUnwrapping (String str , int x , int y ) {
35
+ protected DeepUnwrapping (String str , int x , int y ) {
36
36
unwrapped = new Unwrapping (str , x , y );
37
37
}
38
38
}
@@ -42,7 +42,7 @@ static class Location {
42
42
public int y ;
43
43
44
44
public Location () { }
45
- public Location (int x , int y ) {
45
+ protected Location (int x , int y ) {
46
46
this .x = x ;
47
47
this .y = y ;
48
48
}
@@ -56,7 +56,7 @@ static class PrefixUnwrap
56
56
public Location location ;
57
57
58
58
public PrefixUnwrap () { }
59
- public PrefixUnwrap (String str , int x , int y ) {
59
+ protected PrefixUnwrap (String str , int x , int y ) {
60
60
name = str ;
61
61
location = new Location (x , y );
62
62
}
@@ -68,7 +68,7 @@ static class DeepPrefixUnwrap
68
68
public PrefixUnwrap unwrapped ;
69
69
70
70
public DeepPrefixUnwrap () { }
71
- public DeepPrefixUnwrap (String str , int x , int y ) {
71
+ protected DeepPrefixUnwrap (String str , int x , int y ) {
72
72
unwrapped = new PrefixUnwrap (str , x , y );
73
73
}
74
74
}
@@ -84,7 +84,7 @@ static class ConfigRoot
84
84
public ConfigMisc misc = new ConfigMisc ();
85
85
86
86
public ConfigRoot () { }
87
- public ConfigRoot (String name , int value )
87
+ protected ConfigRoot (String name , int value )
88
88
{
89
89
general = new ConfigGeneral (name );
90
90
misc .value = value ;
@@ -102,7 +102,7 @@ static class ConfigAlternate
102
102
public int id ;
103
103
104
104
public ConfigAlternate () { }
105
- public ConfigAlternate (int id , String name , int value )
105
+ protected ConfigAlternate (int id , String name , int value )
106
106
{
107
107
this .id = id ;
108
108
general = new ConfigGeneral (name );
@@ -116,7 +116,7 @@ static class ConfigGeneral
116
116
public ConfigNames names = new ConfigNames ();
117
117
118
118
public ConfigGeneral () { }
119
- public ConfigGeneral (String name ) {
119
+ protected ConfigGeneral (String name ) {
120
120
names .name = name ;
121
121
}
122
122
}
0 commit comments