List of usage examples for com.google.gwt.dev.asm Type equals
public boolean equals(final Object o)
From source file:com.google.web.bindery.requestfactory.server.RequestFactoryInterfaceValidator.java
License:Apache License
private boolean isAssignable(ErrorContext logger, Type possibleSupertype, Type possibleSubtype) { // Fast-path for same type if (possibleSupertype.equals(possibleSubtype)) { return true; }/*from w w w. j a v a 2 s. c o m*/ // Supertype calculation is cached List<Type> allSupertypes = getSupertypes(logger, possibleSubtype); return allSupertypes.contains(possibleSupertype); }