greflect
0.11-DRAFT

jp.sourceforge.greflect.impl
Class SimpleGenericTypeRef

java.lang.Object
  extended by jp.sourceforge.greflect.impl.SimpleGenericTypeRef
All Implemented Interfaces:
GenericTypeRef

public class SimpleGenericTypeRef
extends java.lang.Object
implements GenericTypeRef

A GenericTypeRef implementation [immutable] .

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

Author:
yo-zi

Constructor Summary
SimpleGenericTypeRef(java.lang.reflect.Type type)
           
SimpleGenericTypeRef(java.lang.reflect.Type type, TypeVarScope scope)
           
 
Method Summary
 TypeVarScope getScope()
          get scope of typevar .
 java.lang.reflect.Type getType()
          get Type for a type-use .
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleGenericTypeRef

public SimpleGenericTypeRef(java.lang.reflect.Type type,
                            TypeVarScope scope)

SimpleGenericTypeRef

public SimpleGenericTypeRef(java.lang.reflect.Type type)
Method Detail

getType

public java.lang.reflect.Type getType()
Description copied from interface: GenericTypeRef
get Type for a type-use .
Pre-conditions :
Post-conditions :

Specified by:
getType in interface GenericTypeRef
Returns:
[null: the type-use is not supported].

getScope

public TypeVarScope getScope()
Description copied from interface: GenericTypeRef
get scope of typevar .
Pre-conditions :
Post-conditions :

Specified by:
getScope in interface GenericTypeRef
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

greflect
0.11-DRAFT

Copyright © 2008 yo-zi. All Rights Reserved.