Lines Matching defs:classname
290 public static Name shortName(Name classname) {
291 return classname.subName(
292 classname.lastIndexOf((byte)'.') + 1, classname.getByteLength());
295 public static String shortName(String classname) {
296 return classname.substring(classname.lastIndexOf('.') + 1);
302 public static Name packagePart(Name classname) {
303 return classname.subName(0, classname.lastIndexOf((byte)'.'));
306 public static String packagePart(String classname) {
307 int lastDot = classname.lastIndexOf('.');
308 return (lastDot < 0 ? "" : classname.substring(0, lastDot));