Examples of GoPsiTypeChannel


Examples of ro.redeul.google.go.lang.psi.types.GoPsiTypeChannel

    @Override
    public boolean isIdentical(GoPsiType goType) {
        if (!(goType instanceof GoPsiTypeChannel))
            return false;

        GoPsiTypeChannel otherChannel = (GoPsiTypeChannel) goType;
        GoPsiType elementType = this.getElementType();
        if (elementType == null)
            return false;
        GoTypeChannel.ChannelType chanType = this.getChannelType();
        GoTypeChannel.ChannelType otherChanType = otherChannel.getChannelType();
        return (chanType == otherChanType || chanType == GoTypeChannel.ChannelType.Bidirectional) &&
                elementType.isIdentical(otherChannel.getElementType());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.