jp.sourceforge.greflect.impl
Interface TypeConversionStrategy
- All Known Implementing Classes:
- DefaultTypeConversionStrategy
public interface TypeConversionStrategy
The logic for manipulations of generic objects [strategy] [concurrent]
.
Responsibilities & Collaborations:
-
with
-
with
-
with
-
with
Notes & Descriptions:
(none)
SourceInfo:
$Id: TypeConversionStrategy.java 129 2008-06-22 15:02:40Z yo-zi $
- Author:
- yo-zi
|
Method Summary |
java.lang.Class<?> |
getRawClassOf(java.lang.reflect.Type type,
TypeVarScope scope)
|
java.lang.String |
getTypeDescriptionFor(java.lang.reflect.Type type,
TypeVarScope scope,
boolean ignoreTypeName)
|
java.lang.String |
getTypeSignatureTo(java.lang.reflect.Type type,
TypeVarScope scope)
|
TypeVarScope |
getUnresolvedTypeVarsFromTo(java.lang.reflect.Type stype,
TypeVarScope sscope,
java.lang.reflect.Type dtype,
TypeVarScope dscope)
|
boolean |
isAssignableFromTo(java.lang.Class<?> from,
java.lang.Class<?> to)
|
boolean |
isAssignableFromTo(java.lang.reflect.Type stype,
TypeVarScope sscope,
java.lang.reflect.Type dtype,
TypeVarScope dscope)
|
java.lang.reflect.Type |
resolveTypeVariable(java.lang.reflect.Type type,
TypeVarScope scope)
|
void |
writeTypeDescriptionTo(java.lang.StringBuilder buf,
java.lang.reflect.Type type,
TypeVarScope scope,
boolean ignoreTypeName)
|
resolveTypeVariable
java.lang.reflect.Type resolveTypeVariable(java.lang.reflect.Type type,
TypeVarScope scope)
getRawClassOf
java.lang.Class<?> getRawClassOf(java.lang.reflect.Type type,
TypeVarScope scope)
throws TypeViolationException
- Throws:
TypeViolationException
isAssignableFromTo
boolean isAssignableFromTo(java.lang.Class<?> from,
java.lang.Class<?> to)
isAssignableFromTo
boolean isAssignableFromTo(java.lang.reflect.Type stype,
TypeVarScope sscope,
java.lang.reflect.Type dtype,
TypeVarScope dscope)
throws TypeViolationException
- Throws:
TypeViolationException
getUnresolvedTypeVarsFromTo
TypeVarScope getUnresolvedTypeVarsFromTo(java.lang.reflect.Type stype,
TypeVarScope sscope,
java.lang.reflect.Type dtype,
TypeVarScope dscope)
throws TypeViolationException
- Throws:
TypeViolationException
getTypeDescriptionFor
java.lang.String getTypeDescriptionFor(java.lang.reflect.Type type,
TypeVarScope scope,
boolean ignoreTypeName)
writeTypeDescriptionTo
void writeTypeDescriptionTo(java.lang.StringBuilder buf,
java.lang.reflect.Type type,
TypeVarScope scope,
boolean ignoreTypeName)
getTypeSignatureTo
java.lang.String getTypeSignatureTo(java.lang.reflect.Type type,
TypeVarScope scope)
throws TypeViolationException
- Throws:
TypeViolationException
Copyright © 2008 yo-zi. All Rights Reserved.