int end = this.key.lastIndexOf(Signature.C_DOT);
if (end == -1) {
end = this.key.lastIndexOf(Signature.C_DOLLAR); // for inner types
if (end == -1) return null;
}
KeyKind kind = new KeyKind(this.key);
kind.parse();
if ((kind.flags & KeyKind.F_LOCAL_VAR) != 0) {
// declaring type for locals doesn't make sense, hence return null.
return null;
}
String typeKey = this.key.substring(0, end);