-
Notifications
You must be signed in to change notification settings - Fork 0
/
gen.json
23 lines (23 loc) · 1.04 KB
/
gen.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"Transport" :
{ "abstract":true,
"fields": { "generatedBool":{ "t":"boolean", "gs":true}, "engine":{ "t":"Engine"}, "someMap":{ "t":"Map<String,Integer>"} } ,
"methods":{ "someGeneratedTestMethod":{ "return":"Long", "param":"ArrayList<Integer> ints, boolean isTrue"} ,
"someAbstractTestMethod": { "abstract":true, "return":"Long", "param":"ArrayList<Integer> ints, boolean isTrue"}
}
},
"Railbound" : {":":"Transport" , "fields": { "someInt":{ "t":"Integer"} } },
"OffTrack" : {":":"Transport"},
"Tram" : {"extends":"Railbound", "implements":"Gridbound"},
"RailWay" : {":":"Railbound"},
"Underground" : {":":"Railbound", "implements":"Gridbound"},
"Bus" : {":":"Transport"},
"IntercityBus" : {":":"Transport"},
"Gridbound" : {"interface":true},
"Engine" :
{ "interface":true,
"methods":{ "range" :{ "return":"int"} }
},
"CombustionEngine" : {"implements":"Engine"} ,
"Electrified" : {"::":"Engine"}
}