Lines Matching defs:sig
171 String sig = new String(SIG_ARRAY + elem.getTypeSignature());
172 Type t = (Type)typeHash.get(sig);
174 t = new ArrayType(sig, elem);
212 String sig =
216 Type t = (Type)typeHash.get(sig);
218 t = new ClassType(sig, className);
285 String sig = buf.toString();
286 Type t = (Type)typeHash.get(sig);
288 t = new MethodType(sig, returnType, argTypes);
311 public static synchronized Type tType(String sig) {
312 Type t = (Type)typeHash.get(sig);
317 switch (sig.charAt(0)) {
319 return Type.tArray(tType(sig.substring(1)));
322 return Type.tClass(Identifier.lookup(sig.substring(1, sig.length() - 1).replace(SIGC_PACKAGE, '.')));
329 for (i = 1 ; sig.charAt(i) != SIGC_ENDMETHOD ; i = j) {
330 for (j = i ; sig.charAt(j) == SIGC_ARRAY ; j++);
331 if (sig.charAt(j++) == SIGC_CLASS) {
332 while (sig.charAt(j++) != SIGC_ENDCLASS);
339 argv[argc++] = tType(sig.substring(i, j));
344 return Type.tMethod(tType(sig.substring(i + 1)), argtypes);
348 throw new CompilerError("invalid TypeSignature:" + sig);