Skip to content

Commit

Permalink
Drop unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenLooman committed Aug 28, 2024
1 parent 222fbce commit 798df12
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ public String getName() {
+ this.rhsTypeName.getFullString();
}

@Override
public String getPackage() {
return null;
}

@Override
public MagikDefinition getWithoutNode() {
return new BinaryOperatorDefinition(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ public List<String> getDataNames() {
return Collections.unmodifiableList(this.dataNames);
}

@Override
public String getPackage() {
return null;
}

@Override
public MagikDefinition getWithoutNode() {
return new ConditionDefinition(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ public String getName() {
return this.typeName.getFullString();
}

@Override
public String getPackage() {
return this.typeName.getPakkage();
}

@Override
public ExemplarDefinition getWithoutNode() {
return new ExemplarDefinition(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ public String getName() {
return this.typeName.getFullString();
}

@Override
public String getPackage() {
return this.typeName.getPakkage();
}

@Override
public GlobalDefinition getWithoutNode() {
return new GlobalDefinition(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,6 @@ public AstNode getNode() {
*/
public abstract String getName();

/**
* Get name of package this definition lives in.
*
* @return Package name.
*/
@CheckForNull
public abstract String getPackage();

/**
* Get a(n equal) copy of self, without the {@link AstNode}.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ public List<String> getUses() {
return Collections.unmodifiableList(this.uses);
}

@Override
public String getPackage() {
return this.name;
}

@Override
public PackageDefinition getWithoutNode() {
return new PackageDefinition(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ public TypeString getTypeName() {
return this.typeName;
}

@Override
public String getPackage() {
return null;
}

@Override
public ParameterDefinition getWithoutNode() {
return new ParameterDefinition(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,6 @@ public Set<ConditionUsage> getUsedConditions() {
return Collections.unmodifiableSet(this.usedConditions);
}

@Override
public String getPackage() {
if (this.typeName != null) {
return this.typeName.getPakkage();
}

return TypeString.UNDEFINED.getPakkage();
}

@Override
public ProcedureDefinition getWithoutNode() {
return new ProcedureDefinition(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ public TypeString getTypeName() {
return this.typeName;
}

@Override
public String getPackage() {
return null;
}

@Override
public SlotDefinition getWithoutNode() {
return new SlotDefinition(
Expand Down

0 comments on commit 798df12

Please sign in to comment.