Searched refs:restype (Results 1 - 22 of 22) sorted by relevance

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DType.java865 public Type restype; field in class:Type.MethodType
869 Type restype,
874 this.restype = restype;
889 return "(" + argtypes + ")" + restype;
908 return restype.equals(m.restype);
917 return (h << 5) + this.restype.hashCode();
921 public Type getReturnType() { return restype; }
927 restype !
868 MethodType(List<Type> argtypes, Type restype, List<Type> thrown, TypeSymbol methodClass) argument
[all...]
H A DPrinter.java202 return "(" + printMethodArgs(t.argtypes, false, locale) + ")" + visit(t.restype, locale);
H A DTypes.java2287 Type restype = subst(t.restype);
2290 restype == t.restype &&
2294 return new MethodType(argtypes, restype, thrown, t.tsym);
2479 return new MethodType(newParams, t.restype, t.thrown, t.tsym);
2495 return new MethodType(t.argtypes, t.restype, newThrown, t.tsym);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DInfer.java524 asMethodType().restype = new UninferredReturnType(tvars, mtype.restype);
537 void instantiateReturnType(Type restype, List<Type> inferred, Types types) throws NoInstanceException { argument
540 restype,
551 public UninferredReturnType(List<Type> tvars, Type restype) { argument
552 super(tvars, restype);
627 final Type restype;
640 restype = (TreeInfo.skipParens(castTree.expr) == env.tree) ?
647 restype = (TreeInfo.skipParens(execTree.expr) == env.tree) ?
652 restype
[all...]
H A DAttr.java761 chk.validate(tree.restype, localEnv);
776 chk.validateAnnotationType(tree.restype);
1526 Type restype = mtype.getReturnType();
1527 if (restype.tag == WILDCARD)
1536 restype = ((JCFieldAccess) tree.meth).selected.type;
1544 restype = new
1545 ClassType(restype.getEnclosingType(),
1549 restype.tsym);
1556 result = check(tree, capture(restype), VAL, pkind, pt);
H A DLower.java918 Type restype; // The result type of the access method.
933 restype = vsym.erasure(types);
939 restype = vsym.erasure(types).getReturnType();
963 new MethodType(argtypes, restype, thrown, syms.methodClass),
1280 md.restype = access(md.restype);
2571 tree.restype = translate(tree.restype);
3348 .restype.type));
H A DMemberEnter.java369 Type restype = res == null ? syms.voidType : attr.attribType(res, env);
380 restype,
577 tree.restype, tree.thrown,
H A DTransTypes.java455 tree.restype = translate(tree.restype, null);
H A DCheck.java2264 void validateAnnotationType(JCTree restype) { argument
2265 // restype may be null if an error occurred, so don't bother validating it
2266 if (restype != null) {
2267 validateAnnotationType(restype.pos(), restype.type);
2505 checkAnnotationResType(meth.pos(), meth.restype.type);
/openjdk7/langtools/make/tools/GenStubs/
H A DGenStubs.java227 tree.restype = translate(tree.restype);
231 if (tree.restype != null && tree.body != null) {
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DTreeTranslator.java140 tree.restype = translate(tree.restype);
H A DTreeScanner.java85 scan(tree.restype);
H A DTreeCopier.java233 JCExpression restype = copy(t.restype, p);
239 return M.at(t.pos).MethodDef(mods, t.name, restype, typarams, params, thrown, body, defaultValue);
H A DJCTree.java631 * @param restype type of method return value
641 public JCExpression restype; field in class:JCTree.JCMethodDecl
650 JCExpression restype,
660 this.restype = restype;
674 public JCTree getReturnType() { return restype; }
2112 JCExpression restype,
648 JCMethodDecl(JCModifiers mods, Name name, JCExpression restype, List<JCTypeParameter> typarams, List<JCVariableDecl> params, List<JCExpression> thrown, JCBlock body, JCExpression defaultValue, MethodSymbol sym) argument
2110 MethodDef(JCModifiers mods, Name name, JCExpression restype, List<JCTypeParameter> typarams, List<JCVariableDecl> params, List<JCExpression> thrown, JCBlock body, JCExpression defaultValue) argument
H A DTreeInfo.java310 return node.restype == null ? node.pos : getStartPos(node.restype);
H A DTreeMaker.java166 JCExpression restype,
174 restype,
164 MethodDef(JCModifiers mods, Name name, JCExpression restype, List<JCTypeParameter> typarams, List<JCVariableDecl> params, List<JCExpression> thrown, JCBlock body, JCExpression defaultValue) argument
H A DPretty.java452 printExpr(tree.restype);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DItems.java450 int rescode = Code.typecode(mtype.restype);
489 int rescode = Code.typecode(mtype.restype);
H A DClassReader.java667 Type restype = sigToType();
674 restype,
H A DClassWriter.java313 assembleSig(mt.restype);
H A DGen.java2062 return items.makeStackItem(optype.restype);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DRichDiagnosticFormatter.java464 visit(t.restype);

Completed in 146 milliseconds