List of usage examples for org.eclipse.jdt.internal.compiler.lookup Scope MORE_GENERIC
int MORE_GENERIC
To view the source code for org.eclipse.jdt.internal.compiler.lookup Scope MORE_GENERIC.
Click Source Link
From source file:org.eclipse.jdt.internal.compiler.lookup.Scope.java
License:Open Source License
public static int compareTypes(TypeBinding left, TypeBinding right) { if (left.isCompatibleWith(right)) return Scope.EQUAL_OR_MORE_SPECIFIC; if (right.isCompatibleWith(left)) return Scope.MORE_GENERIC; return Scope.NOT_RELATED; }