greflect
0.11-DRAFT

jp.sourceforge.greflect.impl
Class TypeVisitor<R>

java.lang.Object
  extended by jp.sourceforge.greflect.impl.TypeVisitor<R>

public abstract class TypeVisitor<R>
extends java.lang.Object

A visitor of Type [visitor] .

Type Variable :
(none)
Responsibilities & Collaborations:
  1. with
  2. with
Notes & Descriptions:
(none)
SourceInfo:
$Id: TypeVisitor.java 7 2008-05-10 12:03:43Z yo-zi $

Author:
yo-zi

Constructor Summary
TypeVisitor()
           
 
Method Summary
 R visit(java.lang.Class type)
           
 R visit(java.lang.reflect.GenericArrayType type)
           
 R visit(java.lang.reflect.ParameterizedType type)
           
 R visit(java.lang.reflect.Type type)
           
 R visit(java.lang.reflect.TypeVariable<?> type)
           
 R visit(java.lang.reflect.WildcardType type)
           
 R visitSusupportedType(java.lang.reflect.Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeVisitor

public TypeVisitor()
Method Detail

visit

public R visit(java.lang.reflect.Type type)
        throws TypeViolationException
Throws:
TypeViolationException

visit

public R visit(java.lang.Class type)
        throws TypeViolationException
Throws:
TypeViolationException

visit

public R visit(java.lang.reflect.TypeVariable<?> type)
        throws TypeViolationException
Throws:
TypeViolationException

visit

public R visit(java.lang.reflect.ParameterizedType type)
        throws TypeViolationException
Throws:
TypeViolationException

visit

public R visit(java.lang.reflect.WildcardType type)
        throws TypeViolationException
Throws:
TypeViolationException

visit

public R visit(java.lang.reflect.GenericArrayType type)
        throws TypeViolationException
Throws:
TypeViolationException

visitSusupportedType

public R visitSusupportedType(java.lang.reflect.Type type)
                       throws TypeViolationException
Throws:
TypeViolationException

greflect
0.11-DRAFT

Copyright © 2008 yo-zi. All Rights Reserved.