@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; }
writeTypeParameters(node.getTypeParameters()); if (!node.getBaseType().isNull()) { space(); writeKeyword(Roles.EXTENDS_KEYWORD); space(); node.getBaseType().acceptVisitor(this, ignored);
writeTypeParameters(node.getTypeParameters()); if (!node.getBaseType().isNull()) { space(); writeKeyword(Roles.EXTENDS_KEYWORD); space(); node.getBaseType().acceptVisitor(this, ignored);
writeTypeParameters(node.getTypeParameters()); if (!node.getBaseType().isNull()) { space(); writeKeyword(Roles.EXTENDS_KEYWORD); space(); node.getBaseType().acceptVisitor(this, ignored);
final TypeDeclaration type = (TypeDeclaration) node; final AstType baseType = type.getBaseType();
final TypeDeclaration type = (TypeDeclaration) node; final AstType baseType = type.getBaseType();
final TypeDeclaration type = (TypeDeclaration) node; final AstType baseType = type.getBaseType();