Skip to content

Commit

Permalink
Remove unused methods.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 249292076
  • Loading branch information
rluble authored and copybara-github committed May 21, 2019
1 parent cdf4ed7 commit 8483624
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions transpiler/java/com/google/j2cl/ast/TypeVariable.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import com.google.j2cl.ast.annotations.Visitable;
import com.google.j2cl.common.ThreadLocalInterner;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import java.util.function.Function;
import java.util.function.Supplier;
Expand Down Expand Up @@ -134,10 +133,6 @@ public String getReadableDescription() {
return getName();
}

public String getSourceName() {
return getName();
}

@Override
public String getUniqueId() {
String prefix = isNullable() ? "?" : "!";
Expand Down Expand Up @@ -181,15 +176,6 @@ public abstract Builder setBoundTypeDescriptorSupplier(

public abstract Builder setWildcardOrCapture(boolean isWildcardOrCapture);

// Internal builder accessors to compute default values.
abstract boolean isWildcardOrCapture();

abstract Optional<String> getUniqueKey();

abstract Supplier<TypeDescriptor> getBoundTypeDescriptorSupplier();

abstract Optional<String> getName();

private static final ThreadLocalInterner<TypeVariable> interner = new ThreadLocalInterner<>();

abstract TypeVariable autoBuild();
Expand Down

0 comments on commit 8483624

Please sign in to comment.