Skip to content

Commit

Permalink
issue1154: make TypeParameter.resolve return ResolvedTypeVariable.class
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomassetti committed Oct 1, 2017
1 parent a9d881f commit fdfe1f6
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -39,6 +39,7 @@
import javax.annotation.Generated;
import com.github.javaparser.TokenRange;
import com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration;
import com.github.javaparser.resolution.types.ResolvedTypeVariable;

import java.util.function.Consumer;

Expand Down Expand Up @@ -230,7 +231,7 @@ public void ifTypeParameter(Consumer<TypeParameter> action) {
}

@Override
public ResolvedTypeParameterDeclaration resolve() {
return getSymbolResolver().resolve(this, ResolvedTypeParameterDeclaration.class);
public ResolvedTypeVariable resolve() {
return getSymbolResolver().resolve(this, ResolvedTypeVariable.class);
}
}

0 comments on commit fdfe1f6

Please sign in to comment.