jp.sourceforge.greflect.impl
Class SimpleGenericTypeRef
java.lang.Object
jp.sourceforge.greflect.impl.SimpleGenericTypeRef
- All Implemented Interfaces:
- GenericTypeRef
public class SimpleGenericTypeRef
- extends java.lang.Object
- implements GenericTypeRef
A GenericTypeRef implementation [immutable]
.
Responsibilities & Collaborations:
-
with
-
with
Notes & Descriptions:
(none)
SourceInfo:
$Id: SimpleGenericTypeRef.java 7 2008-05-10 12:03:43Z yo-zi $
- Author:
- yo-zi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleGenericTypeRef
public SimpleGenericTypeRef(java.lang.reflect.Type type,
TypeVarScope scope)
SimpleGenericTypeRef
public SimpleGenericTypeRef(java.lang.reflect.Type type)
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
Copyright © 2008 yo-zi. All Rights Reserved.