case 'V': return ResolvedTypeX.VOID;
case 'Z': return ResolvedTypeX.BOOLEAN;
case '[': return new TypeX(signature);
+ case '+': return new TypeX(signature);
+ case '-' : return new TypeX(signature);
+ case '?' : return GenericsWildcardTypeX.GENERIC_WILDCARD;
default: throw new BCException("Bad type signature " + signature);
}
}
// case '<':
// // its a generic!
// if (signature.charAt(1)=='>') return signatureToName(signature.substring(2));
+ case '+' : return signatureToName(signature.substring(1, signature.length()));
+ case '-' : return signatureToName(signature.substring(1, signature.length()));
default:
throw new BCException("Bad type signature: " + signature);
}