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

    Fields
    Modifier and Type
    Field
    Description
    (package private) final List<MetaType>
     
    (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

    Constructors
    Constructor
    Description
    ExtInstantier(boolean srcOnly, boolean nested)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • args

      final List<MetaType> args
    • srcOnly

      final boolean srcOnly
    • nested

      final boolean nested
    • sb

      final StringBuilder sb
    • errorOccured

      boolean errorOccured
    • mainIsInternal

      boolean mainIsInternal
    • mainType

      MetaClass mainType
  • Constructor Details

    • ExtInstantier

      ExtInstantier(boolean srcOnly, boolean nested)
  • Method Details

    • instantiate

      MetaType instantiate(eu.bandm.tools.umod.absy.Element_extinstantiation el)
    • visit

      public void visit(eu.bandm.tools.umod.absy.Element_ident_lower el)
      Overrides:
      visit in class eu.bandm.tools.umod.absy.Visitor
    • visit

      public void visit(eu.bandm.tools.umod.absy.Element_ident_upper el)
      Overrides:
      visit in class eu.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 class eu.bandm.tools.umod.absy.Visitor
    • visit

      public void visit(eu.bandm.tools.umod.absy.Element_extinstantiation el)
      Overrides:
      visit in class eu.bandm.tools.umod.absy.Visitor