package EDU.neu.ccs.demeter.tools.apstudio.graphedit;
import java.awt.*;
import java.io.*;
import java.util.*;
import EDU.neu.ccs.demeter.*;
import EDU.neu.ccs.demeter.common.tg.*;


import EDU.neu.ccs.demeter.*;
class ClassNameExact extends ClassNameGlob {
  protected ClassName classname;
  public ClassName get_classname() { return classname; }
  public void set_classname(ClassName new_classname)
    { classname = new_classname; }
  ClassNameExact() { super(); }
  public ClassNameExact(ClassName classname) {
    super();
    set_classname(classname);
  }
  public static ClassNameExact parse(java.io.InputStream in) throws ParseException
    { return new Parser(in)._ClassNameExact(); }
  public static ClassNameExact parse(String s) {
    try { return parse(new java.io.ByteArrayInputStream(s.getBytes())); }
    catch (ParseException e) { throw new RuntimeException(e.toString()); }
  }

    boolean match(ClassNameGlob glob) { return glob.match(this); }
    boolean match(ClassNameExact ex) { return classname.equals(ex.classname); }
    void universal_trv0_bef(UniversalVisitor _v_) {
    super.universal_trv0_bef(_v_);
    _v_.before(this);
  }
  void universal_trv0_aft(UniversalVisitor _v_) {
    _v_.after(this);
    super.universal_trv0_aft(_v_);
  }
  void universal_trv0(UniversalVisitor _v_) {
    universal_trv0_bef(_v_);
    _v_.before_classname(this, classname);
    classname.universal_trv0(_v_);
    _v_.after_classname(this, classname);
    super.universal_trv0(_v_);
    universal_trv0_aft(_v_);
  }
  void toAllSubclasses_Program_trv_bef(ClassNameTranspVisitor cntv, EdgeVisitor aev) {
    super.toAllSubclasses_Program_trv_bef(cntv, aev);
  }
  void toAllSubclasses_Program_trv_aft(ClassNameTranspVisitor cntv, EdgeVisitor aev) {
    super.toAllSubclasses_Program_trv_aft(cntv, aev);
  }
  void toAllSubclasses_Program_trv(ClassNameTranspVisitor cntv, EdgeVisitor aev) {
    toAllSubclasses_Program_trv_bef(cntv, aev);
    classname.toAllSubclasses_Program_trv(cntv, aev);
    toAllSubclasses_Program_trv_aft(cntv, aev);
  }
  void checkStars_ProgramBehavior_trv(DummyVisitor dv) {  }
  void __trav_markReachableForwardFromSources_StrategyGraph_trv_bef(__V_StrategyGraph_markReachableForwardFromSources __v0) {
    super.__trav_markReachableForwardFromSources_StrategyGraph_trv_bef(__v0);
  }
  void __trav_markReachableForwardFromSources_StrategyGraph_trv_aft(__V_StrategyGraph_markReachableForwardFromSources __v0) {
    super.__trav_markReachableForwardFromSources_StrategyGraph_trv_aft(__v0);
  }
  void __trav_markReachableForwardFromSources_StrategyGraph_trv(__V_StrategyGraph_markReachableForwardFromSources __v0) {
    __trav_markReachableForwardFromSources_StrategyGraph_trv_bef(__v0);
    classname.__trav_markReachableForwardFromSources_StrategyGraph_trv(__v0);
    __trav_markReachableForwardFromSources_StrategyGraph_trv_aft(__v0);
  }
  void __trav_markReachableBackwardFromTargets_StrategyGraph_trv_bef(__V_StrategyGraph_markReachableBackwardFromTargets __v0) {
    super.__trav_markReachableBackwardFromTargets_StrategyGraph_trv_bef(__v0);
  }
  void __trav_markReachableBackwardFromTargets_StrategyGraph_trv_aft(__V_StrategyGraph_markReachableBackwardFromTargets __v0) {
    super.__trav_markReachableBackwardFromTargets_StrategyGraph_trv_aft(__v0);
  }
  void __trav_markReachableBackwardFromTargets_StrategyGraph_trv(__V_StrategyGraph_markReachableBackwardFromTargets __v0) {
    __trav_markReachableBackwardFromTargets_StrategyGraph_trv_bef(__v0);
    classname.__trav_markReachableBackwardFromTargets_StrategyGraph_trv(__v0);
    __trav_markReachableBackwardFromTargets_StrategyGraph_trv_aft(__v0);
  }
  void __trav_allSourcesAndTargetsMarked_StrategyGraph_trv_bef(__V_StrategyGraph_allSourcesAndTargetsMarked __v0) {
    super.__trav_allSourcesAndTargetsMarked_StrategyGraph_trv_bef(__v0);
  }
  void __trav_allSourcesAndTargetsMarked_StrategyGraph_trv_aft(__V_StrategyGraph_allSourcesAndTargetsMarked __v0) {
    super.__trav_allSourcesAndTargetsMarked_StrategyGraph_trv_aft(__v0);
  }
  void __trav_allSourcesAndTargetsMarked_StrategyGraph_trv(__V_StrategyGraph_allSourcesAndTargetsMarked __v0) {
    __trav_allSourcesAndTargetsMarked_StrategyGraph_trv_bef(__v0);
    classname.__trav_allSourcesAndTargetsMarked_StrategyGraph_trv(__v0);
    __trav_allSourcesAndTargetsMarked_StrategyGraph_trv_aft(__v0);
  }
  void __trav_getFirst_StrategyGraph_trv_bef(__V_StrategyGraph_getFirst __v0) {
    super.__trav_getFirst_StrategyGraph_trv_bef(__v0);
  }
  void __trav_getFirst_StrategyGraph_trv_aft(__V_StrategyGraph_getFirst __v0) {
    super.__trav_getFirst_StrategyGraph_trv_aft(__v0);
  }
  void __trav_getFirst_StrategyGraph_trv(java.util.BitSet nodes, __V_StrategyGraph_getFirst __v0) {
    __trav_getFirst_StrategyGraph_trv_bef(__v0);
    { java.util.BitSet newnodes = new java.util.BitSet();
      newnodes.set(1);
      newnodes.and(nodes);
      if (!newnodes.equals(new java.util.BitSet()))
        classname.__trav_getFirst_StrategyGraph_trv(newnodes, __v0); }
    __trav_getFirst_StrategyGraph_trv_aft(__v0);
  }
  void collectSource_SGEdge_trv_bef(VecVisitor vv) {
    super.collectSource_SGEdge_trv_bef(vv);
  }
  void collectSource_SGEdge_trv_aft(VecVisitor vv) {
    super.collectSource_SGEdge_trv_aft(vv);
  }
  void collectSource_SGEdge_trv(VecVisitor vv) {
    collectSource_SGEdge_trv_bef(vv);
    classname.collectSource_SGEdge_trv(vv);
    collectSource_SGEdge_trv_aft(vv);
  }
  void collectDest_SGEdge_trv_bef(VecVisitor vv) {
    super.collectDest_SGEdge_trv_bef(vv);
  }
  void collectDest_SGEdge_trv_aft(VecVisitor vv) {
    super.collectDest_SGEdge_trv_aft(vv);
  }
  void collectDest_SGEdge_trv(VecVisitor vv) {
    collectDest_SGEdge_trv_bef(vv);
    classname.collectDest_SGEdge_trv(vv);
    collectDest_SGEdge_trv_aft(vv);
  }
  void collectBypassVs_SGEdge_trv_bef(VecVisitor vv) {
    super.collectBypassVs_SGEdge_trv_bef(vv);
  }
  void collectBypassVs_SGEdge_trv_aft(VecVisitor vv) {
    super.collectBypassVs_SGEdge_trv_aft(vv);
  }
  void collectBypassVs_SGEdge_trv(VecVisitor vv) {
    collectBypassVs_SGEdge_trv_bef(vv);
    classname.collectBypassVs_SGEdge_trv(vv);
    collectBypassVs_SGEdge_trv_aft(vv);
  }
  void collectOnlyThruVs_SGEdge_trv_bef(VecVisitor vv) {
    super.collectOnlyThruVs_SGEdge_trv_bef(vv);
  }
  void collectOnlyThruVs_SGEdge_trv_aft(VecVisitor vv) {
    super.collectOnlyThruVs_SGEdge_trv_aft(vv);
  }
  void collectOnlyThruVs_SGEdge_trv(VecVisitor vv) {
    collectOnlyThruVs_SGEdge_trv_bef(vv);
    classname.collectOnlyThruVs_SGEdge_trv(vv);
    collectOnlyThruVs_SGEdge_trv_aft(vv);
  }
  void __trav_isExact_Glob_trv(__V_Glob_isExact __v0) {  }
  void __trav_isPartNameGlob_Glob_trv_bef(__V_Glob_isPartNameGlob __v0) {
    super.__trav_isPartNameGlob_Glob_trv_bef(__v0);
    __v0.before(this);
  }
  void __trav_isPartNameGlob_Glob_trv_aft(__V_Glob_isPartNameGlob __v0) {
    super.__trav_isPartNameGlob_Glob_trv_aft(__v0);
  }
  void __trav_isPartNameGlob_Glob_trv(__V_Glob_isPartNameGlob __v0) {
    __trav_isPartNameGlob_Glob_trv_bef(__v0);
    __trav_isPartNameGlob_Glob_trv_aft(__v0);
  }
  void getSourceName_PartGlob_trv_bef(StringVisitor sv) {
    super.getSourceName_PartGlob_trv_bef(sv);
  }
  void getSourceName_PartGlob_trv_aft(StringVisitor sv) {
    super.getSourceName_PartGlob_trv_aft(sv);
  }
  void getSourceName_PartGlob_trv(StringVisitor sv) {
    getSourceName_PartGlob_trv_bef(sv);
    classname.getSourceName_PartGlob_trv(sv);
    getSourceName_PartGlob_trv_aft(sv);
  }
  void getDestName_PartGlob_trv_bef(StringVisitor sv) {
    super.getDestName_PartGlob_trv_bef(sv);
  }
  void getDestName_PartGlob_trv_aft(StringVisitor sv) {
    super.getDestName_PartGlob_trv_aft(sv);
  }
  void getDestName_PartGlob_trv(StringVisitor sv) {
    getDestName_PartGlob_trv_bef(sv);
    classname.getDestName_PartGlob_trv(sv);
    getDestName_PartGlob_trv_aft(sv);
  }
  void getSourceName_SubclassGlob_trv_bef(StringVisitor sv) {
    super.getSourceName_SubclassGlob_trv_bef(sv);
  }
  void getSourceName_SubclassGlob_trv_aft(StringVisitor sv) {
    super.getSourceName_SubclassGlob_trv_aft(sv);
  }
  void getSourceName_SubclassGlob_trv(StringVisitor sv) {
    getSourceName_SubclassGlob_trv_bef(sv);
    classname.getSourceName_SubclassGlob_trv(sv);
    getSourceName_SubclassGlob_trv_aft(sv);
  }
  void getDestName_SubclassGlob_trv_bef(StringVisitor sv) {
    super.getDestName_SubclassGlob_trv_bef(sv);
  }
  void getDestName_SubclassGlob_trv_aft(StringVisitor sv) {
    super.getDestName_SubclassGlob_trv_aft(sv);
  }
  void getDestName_SubclassGlob_trv(StringVisitor sv) {
    getDestName_SubclassGlob_trv_bef(sv);
    classname.getDestName_SubclassGlob_trv(sv);
    getDestName_SubclassGlob_trv_aft(sv);
  }
  void allClassNames_ClassGlobSpec_trv_bef(ClassGlobVisitor v) {
    super.allClassNames_ClassGlobSpec_trv_bef(v);
  }
  void allClassNames_ClassGlobSpec_trv_aft(ClassGlobVisitor v) {
    super.allClassNames_ClassGlobSpec_trv_aft(v);
  }
  void allClassNames_ClassGlobSpec_trv(ClassGlobVisitor v) {
    allClassNames_ClassGlobSpec_trv_bef(v);
    classname.allClassNames_ClassGlobSpec_trv(v);
    allClassNames_ClassGlobSpec_trv_aft(v);
  }
}

