greflect
0.11-DRAFT

jp.sourceforge.greflect.impl
Class BranchedTypeVarScope

java.lang.Object
  extended by jp.sourceforge.greflect.impl.BranchedTypeVarScope
All Implemented Interfaces:
TypeVarScope

public class BranchedTypeVarScope
extends java.lang.Object
implements TypeVarScope

A TypeVarScope implementation [chain of responsibility] [immutable] .

Responsibilities & Collaborations:
  1. with
  2. with
Notes & Descriptions:
(none)
SourceInfo:
$Id: BranchedTypeVarScope.java 132 2008-07-02 13:51:18Z yo-zi $

Author:
yo-zi

Field Summary
 
Fields inherited from interface jp.sourceforge.greflect.impl.TypeVarScope
NULL, NULL_TYPEVAR_SET
 
Constructor Summary
BranchedTypeVarScope(TypeVarScope first, TypeVarScope second)
           
 
Method Summary
 java.util.Set<java.lang.reflect.TypeVariable<? extends java.lang.reflect.GenericDeclaration>> getTypeVariableSet()
           
 boolean isEmpty()
           
 GenericTypeRef resolveTypeVariable(java.lang.reflect.TypeVariable<? extends java.lang.reflect.GenericDeclaration> key)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BranchedTypeVarScope

public BranchedTypeVarScope(TypeVarScope first,
                            TypeVarScope second)
Method Detail

resolveTypeVariable

public GenericTypeRef resolveTypeVariable(java.lang.reflect.TypeVariable<? extends java.lang.reflect.GenericDeclaration> key)
Specified by:
resolveTypeVariable in interface TypeVarScope

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface TypeVarScope

getTypeVariableSet

public java.util.Set<java.lang.reflect.TypeVariable<? extends java.lang.reflect.GenericDeclaration>> getTypeVariableSet()
Specified by:
getTypeVariableSet in interface TypeVarScope

toString

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

greflect
0.11-DRAFT

Copyright © 2008 yo-zi. All Rights Reserved.