Modifier and Type | Field and Description |
---|---|
protected Map<UMod.ClassDef,Set<List<UMod.FieldDef>>> |
constructorSignatures |
protected List<UMod.FieldDef> |
EMPTYLIST |
Modifier | Constructor and Description |
---|---|
protected |
CompileConstructors_20181214() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkDuplicateConstructor(UMod.ClassDef cd,
Collection<UMod.FieldDef> signature) |
protected void |
collectAllObligates(UMod.ClassDef cd) |
protected void |
compileConstructor(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 void |
expandOrInherit(UMod.ClassDef cd,
int key,
Collection<UMod.FieldDef> superfields,
int lastIndex) |
protected void |
process(UMod.ClassDef cd) |
protected void |
process(UMod.Forest model) |
protected final List<UMod.FieldDef> EMPTYLIST
protected Map<UMod.ClassDef,Set<List<UMod.FieldDef>>> constructorSignatures
protected void collectAllObligates(UMod.ClassDef cd)
protected boolean checkDuplicateConstructor(UMod.ClassDef cd, Collection<UMod.FieldDef> signature)
protected void process(UMod.Forest model)
protected void process(UMod.ClassDef cd)
protected void compileConstructor(UMod.ClassDef cd, @Opt @Opt Integer key, Collection<UMod.FieldDef> allParams, @Opt @Opt Collection<UMod.FieldDef> superParams)
superParams
- is only !=null when called from expandOrInherit().
Otherwise take firstMinimalConstructor.get(..) as signature of super constructor.protected void expandOrInherit(UMod.ClassDef cd, int key, Collection<UMod.FieldDef> superfields, int lastIndex)
see also the complete user documentation .