Package eu.bandm.tools.umod
Class UMod2java.ExtInstantier
java.lang.Object
eu.bandm.tools.tdom.runtime.BaseVisitor
eu.bandm.tools.umod.absy.Visitor
eu.bandm.tools.umod.UMod2java.ExtInstantier
- All Implemented Interfaces:
PCDataVisitor
- Enclosing class:
- UMod2java
protected class UMod2java.ExtInstantier
extends eu.bandm.tools.umod.absy.Visitor
-
Field Summary
Modifier and TypeFieldDescription(package private) boolean
(package private) boolean
(package private) MetaClass
(package private) final boolean
(package private) final StringBuilder
(package private) final boolean
Fields inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
validating
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) MetaType
instantiate
(eu.bandm.tools.umod.absy.Element_extinstantiation el) void
visit
(eu.bandm.tools.umod.absy.Element_absoluteref el) Collect idents, which make up the path of the class, and find definition.void
visit
(eu.bandm.tools.umod.absy.Element_extinstantiation el) void
visit
(eu.bandm.tools.umod.absy.Element_ident_lower el) void
visit
(eu.bandm.tools.umod.absy.Element_ident_upper el) Methods inherited from class eu.bandm.tools.umod.absy.Visitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
Methods inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
visit
-
Field Details
-
args
-
srcOnly
final boolean srcOnly -
nested
final boolean nested -
sb
-
errorOccured
boolean errorOccured -
mainIsInternal
boolean mainIsInternal -
mainType
MetaClass mainType
-
-
Constructor Details
-
ExtInstantier
ExtInstantier(boolean srcOnly, boolean nested)
-
-
Method Details
-
instantiate
-
visit
public void visit(eu.bandm.tools.umod.absy.Element_ident_lower el) - Overrides:
visit
in classeu.bandm.tools.umod.absy.Visitor
-
visit
public void visit(eu.bandm.tools.umod.absy.Element_ident_upper el) - Overrides:
visit
in classeu.bandm.tools.umod.absy.Visitor
-
visit
public void visit(eu.bandm.tools.umod.absy.Element_absoluteref el) Collect idents, which make up the path of the class, and find definition. This may be (a) an external, existing class file, (b) an hypothetical external class, (c) an internal definition. And it may be instantiated with parameters recursively, which can be the same. Cycles in parametrization of source external classes are detected.- Overrides:
visit
in classeu.bandm.tools.umod.absy.Visitor
-
visit
public void visit(eu.bandm.tools.umod.absy.Element_extinstantiation el) - Overrides:
visit
in classeu.bandm.tools.umod.absy.Visitor
-