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

Method nullSafeClassName

api/src/main/java/io/jsonwebtoken/lang/Objects.java:659–661  ·  view source on GitHub ↗

Determine the class name for the given object. Returns "null" if obj is null . @param obj the object to introspect (may be null ) @return the corresponding class name

(Object obj)

Source from the content-addressed store, hash-verified

657 * @return the corresponding class name
658 */
659 public static String nullSafeClassName(Object obj) {
660 return (obj != null ? obj.getClass().getName() : NULL_STRING);
661 }
662
663 /**
664 * Return a String representation of the specified Object.

Callers 2

stateIsInstanceMethod · 0.95
serializeMethod · 0.95

Calls 1

getNameMethod · 0.65

Tested by

no test coverage detected