@Override public boolean matches(final INode other, final Match match) { if (other instanceof TypeDeclaration) { final TypeDeclaration otherDeclaration = (TypeDeclaration) other; return !otherDeclaration.isNull() && _classType == otherDeclaration._classType && matchString(getName(), otherDeclaration.getName()) && matchAnnotationsAndModifiers(otherDeclaration, match) && getTypeParameters().matches(otherDeclaration.getTypeParameters(), match) && getBaseType().matches(otherDeclaration.getBaseType(), match) && getInterfaces().matches(otherDeclaration.getInterfaces(), match) && getMembers().matches(otherDeclaration.getMembers(), match); } return false; }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof TypeDeclaration) { final TypeDeclaration otherDeclaration = (TypeDeclaration) other; return !otherDeclaration.isNull() && _classType == otherDeclaration._classType && matchString(getName(), otherDeclaration.getName()) && matchAnnotationsAndModifiers(otherDeclaration, match) && getTypeParameters().matches(otherDeclaration.getTypeParameters(), match) && getBaseType().matches(otherDeclaration.getBaseType(), match) && getInterfaces().matches(otherDeclaration.getInterfaces(), match) && getMembers().matches(otherDeclaration.getMembers(), match); } return false; }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof TypeDeclaration) { final TypeDeclaration otherDeclaration = (TypeDeclaration) other; return !otherDeclaration.isNull() && _classType == otherDeclaration._classType && matchString(getName(), otherDeclaration.getName()) && matchAnnotationsAndModifiers(otherDeclaration, match) && getTypeParameters().matches(otherDeclaration.getTypeParameters(), match) && getBaseType().matches(otherDeclaration.getBaseType(), match) && getInterfaces().matches(otherDeclaration.getInterfaces(), match) && getMembers().matches(otherDeclaration.getMembers(), match); } return false; }
if (any(node.getInterfaces())) { final Collection<AstType> interfaceTypes; interfaceTypes = new ArrayList<>(); for (final AstType t : node.getInterfaces()) { final TypeReference r = t.getUserData(Keys.TYPE_REFERENCE); interfaceTypes = node.getInterfaces(); writeCommaSeparatedList(node.getInterfaces());
if (any(node.getInterfaces())) { final Collection<AstType> interfaceTypes; interfaceTypes = new ArrayList<>(); for (final AstType t : node.getInterfaces()) { final TypeReference r = t.getUserData(Keys.TYPE_REFERENCE); interfaceTypes = node.getInterfaces(); writeCommaSeparatedList(node.getInterfaces());
if (any(node.getInterfaces())) { final Collection<AstType> interfaceTypes; interfaceTypes = new ArrayList<>(); for (final AstType t : node.getInterfaces()) { final TypeReference r = t.getUserData(Keys.TYPE_REFERENCE); interfaceTypes = node.getInterfaces(); writeCommaSeparatedList(node.getInterfaces());
for (final AstType ifType : type.getInterfaces()) { if (referencesType(ifType, localType)) { return true;
for (final AstType ifType : type.getInterfaces()) { if (referencesType(ifType, localType)) { return true;
for (final AstType ifType : type.getInterfaces()) { if (referencesType(ifType, localType)) { return true;