java.lang.Object
org.palladiosimulator.retriever.extraction.commonalities.CompUnitOrName

public class CompUnitOrName extends Object
  • Constructor Details

    • CompUnitOrName

      public CompUnitOrName(String name)
    • CompUnitOrName

      public CompUnitOrName(org.eclipse.jdt.core.dom.CompilationUnit compilationUnit)
  • Method Details

    • isUnit

      public boolean isUnit()
    • compilationUnit

      public Optional<org.eclipse.jdt.core.dom.CompilationUnit> compilationUnit()
    • name

      public String name()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object