org.jetbrains.jet.rt.signature
Class JetSignatureExceptionsAdapter

java.lang.Object
  extended by org.jetbrains.jet.rt.signature.JetSignatureExceptionsAdapter
All Implemented Interfaces:
JetSignatureVisitor

public class JetSignatureExceptionsAdapter
extends Object
implements JetSignatureVisitor


Field Summary
 
Fields inherited from interface org.jetbrains.jet.rt.signature.JetSignatureVisitor
EXTENDS, INSTANCEOF, SUPER
 
Constructor Summary
JetSignatureExceptionsAdapter()
           
 
Method Summary
 JetSignatureVisitor visitArrayType(boolean nullable, JetSignatureVariance wildcard)
          Visits a signature corresponding to an array type.
 void visitBaseType(char descriptor, boolean nullable)
          Visits a signature corresponding to a primitive type.
 JetSignatureVisitor visitClassBound()
          Visits the class bound of the last visited formal type parameter.
 void visitClassType(String name, boolean nullable, boolean forceReal)
          Starts the visit of a signature corresponding to a class or interface type.
 void visitEnd()
          Ends the visit of a signature corresponding to a class or interface type.
 JetSignatureVisitor visitExceptionType()
          Visits the type of a method exception.
 JetSignatureVisitor visitFormalTypeParameter(String name, TypeInfoVariance variance, boolean reified)
          Visits a formal type parameter.
 void visitFormalTypeParameterEnd()
           
 void visitInnerClassType(String name, boolean nullable, boolean forceReal)
          Visits an inner class.
 JetSignatureVisitor visitInterface()
          Visits the type of an interface implemented by the class.
 JetSignatureVisitor visitInterfaceBound()
          Visits an interface bound of the last visited formal type parameter.
 JetSignatureVisitor visitParameterType()
          Visits the type of a method parameter.
 JetSignatureVisitor visitReturnType()
          Visits the return type of the method.
 JetSignatureVisitor visitSuperclass()
          Visits the type of the super class.
 void visitTypeArgument()
          Visits an unbounded type argument of the last visited class or inner class type.
 JetSignatureVisitor visitTypeArgument(JetSignatureVariance wildcard)
          Visits a type argument of the last visited class or inner class type.
 void visitTypeVariable(String name, boolean nullable)
          Visits a signature corresponding to a type variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JetSignatureExceptionsAdapter

public JetSignatureExceptionsAdapter()
Method Detail

visitFormalTypeParameter

public JetSignatureVisitor visitFormalTypeParameter(String name,
                                                    TypeInfoVariance variance,
                                                    boolean reified)
Description copied from interface: JetSignatureVisitor
Visits a formal type parameter. TODO should not store reified flag in signature

Specified by:
visitFormalTypeParameter in interface JetSignatureVisitor
Parameters:
name - the name of the formal parameter.

visitFormalTypeParameterEnd

public void visitFormalTypeParameterEnd()
Specified by:
visitFormalTypeParameterEnd in interface JetSignatureVisitor

visitClassBound

public JetSignatureVisitor visitClassBound()
Description copied from interface: JetSignatureVisitor
Visits the class bound of the last visited formal type parameter.

Specified by:
visitClassBound in interface JetSignatureVisitor
Returns:
a non null visitor to visit the signature of the class bound.

visitInterfaceBound

public JetSignatureVisitor visitInterfaceBound()
Description copied from interface: JetSignatureVisitor
Visits an interface bound of the last visited formal type parameter.

Specified by:
visitInterfaceBound in interface JetSignatureVisitor
Returns:
a non null visitor to visit the signature of the interface bound.

visitSuperclass

public JetSignatureVisitor visitSuperclass()
Description copied from interface: JetSignatureVisitor
Visits the type of the super class.

Specified by:
visitSuperclass in interface JetSignatureVisitor
Returns:
a non null visitor to visit the signature of the super class type.

visitInterface

public JetSignatureVisitor visitInterface()
Description copied from interface: JetSignatureVisitor
Visits the type of an interface implemented by the class.

Specified by:
visitInterface in interface JetSignatureVisitor
Returns:
a non null visitor to visit the signature of the interface type.

visitParameterType

public JetSignatureVisitor visitParameterType()
Description copied from interface: JetSignatureVisitor
Visits the type of a method parameter.

Specified by:
visitParameterType in interface JetSignatureVisitor
Returns:
a non null visitor to visit the signature of the parameter type.

visitReturnType

public JetSignatureVisitor visitReturnType()
Description copied from interface: JetSignatureVisitor
Visits the return type of the method.

Specified by:
visitReturnType in interface JetSignatureVisitor
Returns:
a non null visitor to visit the signature of the return type.

visitExceptionType

public JetSignatureVisitor visitExceptionType()
Description copied from interface: JetSignatureVisitor
Visits the type of a method exception.

Specified by:
visitExceptionType in interface JetSignatureVisitor
Returns:
a non null visitor to visit the signature of the exception type.

visitBaseType

public void visitBaseType(char descriptor,
                          boolean nullable)
Description copied from interface: JetSignatureVisitor
Visits a signature corresponding to a primitive type.

Specified by:
visitBaseType in interface JetSignatureVisitor
Parameters:
descriptor - the descriptor of the primitive type, or 'V' for void.

visitTypeVariable

public void visitTypeVariable(String name,
                              boolean nullable)
Description copied from interface: JetSignatureVisitor
Visits a signature corresponding to a type variable.

Specified by:
visitTypeVariable in interface JetSignatureVisitor
Parameters:
name - the name of the type variable.

visitArrayType

public JetSignatureVisitor visitArrayType(boolean nullable,
                                          JetSignatureVariance wildcard)
Description copied from interface: JetSignatureVisitor
Visits a signature corresponding to an array type.

Specified by:
visitArrayType in interface JetSignatureVisitor
Returns:
a non null visitor to visit the signature of the array element type.

visitClassType

public void visitClassType(String name,
                           boolean nullable,
                           boolean forceReal)
Description copied from interface: JetSignatureVisitor
Starts the visit of a signature corresponding to a class or interface type.

Specified by:
visitClassType in interface JetSignatureVisitor
Parameters:
name - the internal name of the class or interface.

visitInnerClassType

public void visitInnerClassType(String name,
                                boolean nullable,
                                boolean forceReal)
Description copied from interface: JetSignatureVisitor
Visits an inner class.

Specified by:
visitInnerClassType in interface JetSignatureVisitor
Parameters:
name - the full name of the inner class.

visitTypeArgument

public void visitTypeArgument()
Description copied from interface: JetSignatureVisitor
Visits an unbounded type argument of the last visited class or inner class type.

Specified by:
visitTypeArgument in interface JetSignatureVisitor

visitTypeArgument

public JetSignatureVisitor visitTypeArgument(JetSignatureVariance wildcard)
Description copied from interface: JetSignatureVisitor
Visits a type argument of the last visited class or inner class type.

Specified by:
visitTypeArgument in interface JetSignatureVisitor
Parameters:
wildcard - '+', '-' or '='.
Returns:
a non null visitor to visit the signature of the type argument.

visitEnd

public void visitEnd()
Description copied from interface: JetSignatureVisitor
Ends the visit of a signature corresponding to a class or interface type.

Specified by:
visitEnd in interface JetSignatureVisitor


Copyright © 2013. All Rights Reserved.