MCPcopy Create free account
hub / github.com/M66B/FairEmail / getEmailUser

Method getEmailUser

app/src/main/java/eu/faircode/email/UriHelper.java:179–188  ·  view source on GitHub ↗
(String address)

Source from the content-addressed store, hash-verified

177 }
178
179 static String getEmailUser(String address) {
180 if (address == null)
181 return null;
182
183 int at = address.indexOf('@');
184 if (at > 0)
185 return address.substring(0, at);
186
187 return null;
188 }
189
190 static String getEmailExtra(String email) {
191 if (TextUtils.isEmpty(email))

Callers 7

onExecuteMethod · 0.95
onActionMoveMethod · 0.95
getDataMethod · 0.95
onActionItemClickedMethod · 0.95
onInsertContactMethod · 0.95
getFromMethod · 0.95
isNoReplyMethod · 0.95

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected