Remove public getFeatureConfiguration from LinkCommandLine

It's used in CppCompileActionTest only. The tests are actually more robust if they check if CppLinkAction actually used pic or not. That pic is used exactly when main.pic.o is an input to linking action.

PiperOrigin-RevId: 594448244
Change-Id: Iaba5c7ae0d3e5bb3199f3b56c625083fbef3a66a
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java
index cd2b114..72a38dd 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java
@@ -82,21 +82,10 @@
     return paramFile;
   }
 
-  @Nullable
-  @VisibleForTesting
-  public FeatureConfiguration getFeatureConfiguration() {
-    return featureConfiguration;
-  }
-
   public String getActionName() {
     return actionName;
   }
 
-  /** Returns the current type of link target set. */
-  public LinkTargetType getLinkTargetType() {
-    return linkTargetType;
-  }
-
   /** Returns the "staticness" of the link. */
   public Link.LinkingMode getLinkingMode() {
     return linkingMode;