@Override public String toString() { return "JavaParserTypeVariableDeclaration{" + wrappedNode.getName() + '}'; }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof JavaParserTypeParameter)) return false; JavaParserTypeParameter that = (JavaParserTypeParameter) o; if (wrappedNode != null ? !wrappedNode.equals(that.wrappedNode) : that.wrappedNode != null) return false; return true; }
@Override public String toString() { return "JPTypeParameter(" + wrappedNode.getName() + ", bounds=" + wrappedNode.getTypeBound() + ")"; }
@Override public int hashCode() { int result = wrappedNode != null ? wrappedNode.hashCode() : 0; result = 31 * result + (typeSolver != null ? typeSolver.hashCode() : 0); return result; }
@Override public List<Bound> getBounds() { return wrappedNode.getTypeBound().stream().map((astB) -> toBound(astB, typeSolver)).collect(Collectors.toList()); }
.map(matchingType -> SymbolReference.solved( new JavaParserTypeParameter(new TypeParameter(matchingType.toString()), typeSolver)));
@Override public int hashCode() { int result = wrappedNode != null ? wrappedNode.hashCode() : 0; result = 31 * result + (typeSolver != null ? typeSolver.hashCode() : 0); return result; }
@Override public List<Bound> getBounds() { return wrappedNode.getTypeBound().stream().map((astB) -> toBound(astB, typeSolver)).collect(Collectors.toList()); }
.map(matchingType -> SymbolReference.solved( new JavaParserTypeParameter(new TypeParameter(matchingType.toString()), typeSolver)));
@Override public String toString() { return "JavaParserTypeVariableDeclaration{" + wrappedNode.getName() + '}'; }
@Override public String toString() { return "JPTypeParameter(" + wrappedNode.getName() + ", bounds=" + wrappedNode.getTypeBound() + ")"; }
@Override public int hashCode() { int result = wrappedNode != null ? wrappedNode.hashCode() : 0; result = 31 * result + (typeSolver != null ? typeSolver.hashCode() : 0); return result; }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof JavaParserTypeParameter)) return false; JavaParserTypeParameter that = (JavaParserTypeParameter) o; if (wrappedNode != null ? !wrappedNode.equals(that.wrappedNode) : that.wrappedNode != null) return false; return true; }
@Override public List<Bound> getBounds() { return wrappedNode.getTypeBound().stream().map((astB) -> toBound(astB, typeSolver)).collect(Collectors.toList()); }
.map(matchingType -> SymbolReference.solved( new JavaParserTypeParameter(new TypeParameter(matchingType.toString()), typeSolver)));
@Override public String toString() { return "JavaParserTypeVariableDeclaration{" + wrappedNode.getName() + '}'; }
@Override public String toString() { return "JPTypeParameter(" + wrappedNode.getName() + ", bounds=" + wrappedNode.getTypeBound() + ")"; }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof JavaParserTypeParameter)) return false; JavaParserTypeParameter that = (JavaParserTypeParameter) o; if (wrappedNode != null ? !wrappedNode.equals(that.wrappedNode) : that.wrappedNode != null) return false; return true; }
@Override public String getName() { return wrappedNode.getName().getId(); }
@Override public String getName() { return wrappedNode.getName().getId(); }