001/*
002 * Copyright 2010-2013 JetBrains s.r.o.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017package org.jetbrains.jet.rt.signature;
018
019import jet.typeinfo.TypeInfoVariance;
020
021public class JetSignatureExceptionsAdapter implements JetSignatureVisitor {
022    @Override
023    public JetSignatureVisitor visitFormalTypeParameter(String name, TypeInfoVariance variance, boolean reified) {
024        throw new IllegalStateException();
025    }
026
027    @Override
028    public void visitFormalTypeParameterEnd() {
029        throw new IllegalStateException();
030    }
031
032    @Override
033    public JetSignatureVisitor visitClassBound() {
034        throw new IllegalStateException();
035    }
036
037    @Override
038    public JetSignatureVisitor visitInterfaceBound() {
039        throw new IllegalStateException();
040    }
041
042    @Override
043    public JetSignatureVisitor visitSuperclass() {
044        throw new IllegalStateException();
045    }
046
047    @Override
048    public JetSignatureVisitor visitInterface() {
049        throw new IllegalStateException();
050    }
051
052    @Override
053    public JetSignatureVisitor visitParameterType() {
054        throw new IllegalStateException();
055    }
056
057    @Override
058    public JetSignatureVisitor visitReturnType() {
059        throw new IllegalStateException();
060    }
061
062    @Override
063    public JetSignatureVisitor visitExceptionType() {
064        throw new IllegalStateException();
065    }
066
067    @Override
068    public void visitBaseType(char descriptor, boolean nullable) {
069        throw new IllegalStateException();
070    }
071
072    @Override
073    public void visitTypeVariable(String name, boolean nullable) {
074        throw new IllegalStateException();
075    }
076
077    @Override
078    public JetSignatureVisitor visitArrayType(boolean nullable, JetSignatureVariance wildcard) {
079        throw new IllegalStateException();
080    }
081
082    @Override
083    public void visitClassType(String name, boolean nullable, boolean forceReal) {
084        throw new IllegalStateException();
085    }
086
087    @Override
088    public void visitInnerClassType(String name, boolean nullable, boolean forceReal) {
089        throw new IllegalStateException();
090    }
091
092    @Override
093    public void visitTypeArgument() {
094        throw new IllegalStateException();
095    }
096
097    @Override
098    public JetSignatureVisitor visitTypeArgument(JetSignatureVariance wildcard) {
099        throw new IllegalStateException();
100    }
101
102    @Override
103    public void visitEnd() {
104        throw new IllegalStateException();
105    }
106}