Package eu.bandm.tools.umod
Class UMod2java.CompileConstructors_20181214
java.lang.Object
eu.bandm.tools.umod.UMod2java.CompileConstructors_20181214
- Enclosing class:
- UMod2java
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) Map<UMod.ClassDef, List<UMod.FieldDef>> protected Map<UMod.ClassDef, Set<List<UMod.FieldDef>>> protected final List<UMod.FieldDef> (package private) Map<UMod.ClassDef, List<UMod.FieldDef>> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleancheckDuplicateConstructor(UMod.ClassDef cd, Collection<UMod.FieldDef> signature) protected voidprotected voidcompileConstructor(UMod.ClassDef cd, @Opt Integer key, Collection<UMod.FieldDef> allParams, @Opt Collection<UMod.FieldDef> superParams) When this is called: no obligate fields are missing.protected voidexpandOrInherit(UMod.ClassDef cd, int key, Collection<UMod.FieldDef> superfields, int lastIndex) protected voidprocess(UMod.ClassDef cd) protected voidprocess(UMod.Forest model) 
- 
Field Details- 
EMPTYLIST
- 
allObligatesMap<UMod.ClassDef,List<UMod.FieldDef>> allObligates
- 
firstMinimalConstructorMap<UMod.ClassDef,List<UMod.FieldDef>> firstMinimalConstructor
- 
constructorSignatures
 
- 
- 
Constructor Details- 
CompileConstructors_20181214protected CompileConstructors_20181214()
 
- 
- 
Method Details- 
collectAllObligates
- 
checkDuplicateConstructor
- 
process
- 
process
- 
compileConstructorprotected void compileConstructor(UMod.ClassDef cd, @Opt @Opt Integer key, Collection<UMod.FieldDef> allParams, @Opt @Opt Collection<UMod.FieldDef> superParams) When this is called: no obligate fields are missing.- Parameters:
- superParams- is only !=null when called from expandOrInherit(). Otherwise take firstMinimalConstructor.get(..) as signature of super constructor.
 
- 
expandOrInheritprotected void expandOrInherit(UMod.ClassDef cd, int key, Collection<UMod.FieldDef> superfields, int lastIndex) 
 
-