In C# we have Type.FullName
and Type.Name
for getting the name of a type (class in this case) with or without the namespace (package in java-world).
What is the java equivalent to Type.Name
?
Clearly there must be a better way than using Class.getName()
and strip it of the package name manually.