- niceClassAndMethod
returns nice class name and method for the given element
- simpleClassName
as #simpleClassName(Class) but taking the type of the object if it is not
already a class or a type-
- callerNiceClassAndMethod
returns nice class name and method for the caller, going up the stack (filtered
to remove invocation
- cleanSimpleClassName
as #simpleClassName(Object) but making the result clean for use on filesystems
and as java identifie
- superSimpleClassName
as #simpleClassName(Object) but looking up the type if needed
- callerStackElement
returns element in cleaned stack trace; usually the caller's location is at the
top, and caller of t
- packagePath
returns e.g. "/com/acme/" for an object in package com.acme
- resolveName
returns path relative to the package of x, unless path is absolute. useful to
mimic Class.getResourc
- simplifyClassName
as #simpleClassName(Class) but taking a string rep'n of the class name, and
doing best effort to sim
- type
returns the Class of anything which isn't a class; if input is class it is
pass-through
- componentType
like type, but removes any array modifiers
- packageName