Searched refs:Warner (Results 1 - 8 of 8) sorted by relevance

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DWarner.java41 public class Warner { class
42 public static final Warner noWarnings = new Warner();
61 public Warner(DiagnosticPosition pos) { method in class:Warner
84 public Warner() { method in class:Warner
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DInfer.java207 void maximizeInst(UndetVar that, Warner warn) throws NoInstanceException {
262 void minimizeInst(UndetVar that, Warner warn) throws NoInstanceException {
306 Warner warn) throws InferenceException {
376 final Warner warn) throws InferenceException {
568 boolean allowBoxing, boolean useVarargs, Warner warn) {
587 Warner warn) throws InferenceException {
603 Warner warn)
H A DCheck.java459 Type instantiatePoly(DiagnosticPosition pos, ForAll t, Type pt, Warner warn) throws Infer.NoInstanceException {
532 return types.isCastable(bound, types.upperBound(a), Warner.noWarnings);
1525 Warner overrideWarner = new Warner();
1671 (types.covariantReturnType(rt1, rt2, Warner.noWarnings) ||
1672 types.covariantReturnType(rt2, rt1, Warner.noWarnings)) ||
1716 (types.covariantReturnType(rt13, rt1, Warner.noWarnings) &&
1717 types.covariantReturnType(rt23, rt2, Warner.noWarnings));
2760 private class ConversionWarner extends Warner {
2794 public Warner castWarne
[all...]
H A DResolve.java333 Warner warn)
410 Warner warn) {
426 Warner warn) {
439 Warner warn) {
661 Warner noteWarner = new Warner();
689 allowBoxing, useVarargs, Warner.noWarnings);
H A DAttr.java1688 types.isAssignable(inferred, pt.tag == NONE ? clazztype : pt, Warner.noWarnings)) {
1885 Warner.noWarnings);
2103 if (!types.isCastable(left, right, new Warner(tree.pos()))) {
2713 Warner noteWarner = new Warner();
2776 Warner warn = chk.convertWarner(arg.pos(), arg.type, formals.head);
2786 Warner warn = chk.convertWarner(arg.pos(), arg.type, varArg);
2838 private void assertConvertible(JCTree tree, Type actual, Type formal, Warner warn) {
H A DTransTypes.java126 return types.isAssignable(tree.type, btarget, Warner.noWarnings)
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DTypes.java81 List<Warner> warnStack = List.nil();
275 public boolean isConvertible(Type t, Type s, Warner warn) {
294 return isConvertible(t, s, Warner.noWarnings);
303 return isSubtypeUnchecked(t, s, Warner.noWarnings);
308 public boolean isSubtypeUnchecked(Type t, Type s, Warner warn) {
316 private boolean isSubtypeUncheckedInternal(Type t, Type s, Warner warn) {
347 private void checkUnsafeVarargsConversion(Type t, Type s, Warner warn) {
531 public boolean isSubtypeUnchecked(Type t, List<Type> ts, Warner warn) {
558 public boolean isSubtypesUnchecked(List<Type> ts, List<Type> ss, Warner warn) {
944 return isCastable(t, s, Warner
[all...]
H A DSymbol.java1193 (!checkResult || types.resultSubtype(mt, ot, Warner.noWarnings));

Completed in 131 milliseconds