package com.redhat.ceylon.compiler.typechecker.model;


import java.util.List;

public class ClassAlias extends Class {
    
    @Override
    public ProducedType getProducedType(ProducedType outerType, 
            List<ProducedType> typeArguments) {
        return aliasType(outerType, typeArguments);
    }

    @Override
    public boolean isAlias() {
        return true;
    }
    
    @Override
    public boolean isAbstract() {
        return getExtendedTypeDeclaration().isAbstract();
    }
    
}

package com.redhat.ceylon.compiler.typechecker.model;


import java.util.List;

public class ClassAlias extends Class {
    
    @Override
    public ProducedType getProducedType(ProducedType outerType, 
            List<ProducedType> typeArguments) {
        return aliasType(outerType, typeArguments);
    }

    @Override
    public boolean isAlias() {
        return true;
    }
    
    @Override
    public boolean isAbstract() {
        Class etd = getExtendedTypeDeclaration();
        return etd!=null && etd.isAbstract();
    }
    
}

fix npe in ide