Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
LoiNguyenCS committed Nov 16, 2023
1 parent bb163cc commit 3801117
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -705,25 +705,6 @@ public static String setInitialValueForVariableDeclaration(
}
}

/**
* Given a parameter with a type that has placeholder, this method will update the placeholder for
* the synthetic class file of type A. This method should only be called in the context of
* visiting parameters.
*
* @param parameter a parameter with placeholder in this type
*/
public void updatePlaceHolderForParameter(@FullyQualifiedName String parameter) {
// parameter will be in this form: "path.to.A<path.to.B>"
// this one might not be a good check but it should work fine.
if (parameter.indexOf("<") > 0) {
@SuppressWarnings("signature") // since path.to.A is a qualified name
@FullyQualifiedName String withoutInsidePart = parameter.substring(0, parameter.indexOf("<"));
UnsolvedClass updatedClass = getSimpleSyntheticClassFromFullyQualifiedName(withoutInsidePart);
updatedClass.setPlaceHolder();
updateMissingClass(updatedClass);
}
}

/**
* Given a class name that can either be fully-qualified or simple, this method will convert that
* class name to a simple name.
Expand Down

0 comments on commit 3801117

Please sign in to comment.