private void pushBySignature(String signature) { try { if ("V".equals(signature)) return; if (signature == null) push( new Item(Item.UNKNOWN_TYPE )); else if (signature.startsWith("L")) push( new Item(Item.OBJECT_TYPE, Repository.lookupClass(signature.substring(1, signature.length() - 1)))); else if ("B".equals(signature)) push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Byte"))); else if ("C".equals(signature)) push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Character"))); else if ("D".equals(signature)) push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Double"))); else if ("F".equals(signature)) push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Float"))); else if ("I".equals(signature)) push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Integer"))); else if ("J".equals(signature)) push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Long"))); else if ("S".equals(signature)) push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Short"))); else if ("Z".equals(signature)) push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Boolean"))); else push( new Item(Item.OBJECT_TYPE, Repository.lookupClass(signature))); } catch (ClassNotFoundException cnfe) { push( new Item(Item.UNKNOWN_TYPE )); } catch (Exception e) { push( new Item(Item.UNKNOWN_TYPE )); }
private void pushBySignature(String s) { if ("V".equals(s)) return; push(new Item(s, null));
 	private void pushBySignature(String signature) { 		try {	 		if ("V".equals(signature))	 			return;	 		if (signature == null)	 			push( new Item(Item.UNKNOWN_TYPE ));			else if (signature.startsWith("L"))				push( new Item(Item.OBJECT_TYPE, Repository.lookupClass(signature.substring(1, signature.length() - 1))));			else if ("B".equals(signature))				push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Byte")));			else if ("C".equals(signature))				push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Character")));			else if ("D".equals(signature))				push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Double")));			else if ("F".equals(signature))				push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Float")));			else if ("I".equals(signature))				push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Integer")));			else if ("J".equals(signature))				push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Long")));			else if ("S".equals(signature))				push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Short")));			else if ("Z".equals(signature))				push( new Item(Item.PRIMITIVE_TYPE, Repository.lookupClass("java.lang.Boolean")));			else //I'm not sure how to load a JavaClass based on an array. I'll put this here to remind myself to figure that out				push( new Item(Item.OBJECT_TYPE, Repository.lookupClass(signature)));		}		catch (ClassNotFoundException cnfe) {			push( new Item(Item.UNKNOWN_TYPE ));		}		catch (Exception e) { //This is currently for the Arrays that are failing. This will be removed eventually			push( new Item(Item.UNKNOWN_TYPE ));		}			 	}