MCPcopy Create free account
hub / github.com/jwtk/jjwt / nameOf

Method nameOf

impl/src/main/java/io/jsonwebtoken/impl/DefaultHeader.java:59–62  ·  view source on GitHub ↗
(Header header)

Source from the content-addressed store, hash-verified

57 }
58
59 static String nameOf(Header header) {
60 return Assert.hasText(Assert.isInstanceOf(Nameable.class, header).getName(),
61 "Header name cannot be null or empty.");
62 }
63
64 @Override
65 public String getType() {

Callers 1

locateMethod · 0.95

Calls 3

hasTextMethod · 0.95
isInstanceOfMethod · 0.95
getNameMethod · 0.65

Tested by

no test coverage detected