org.glassfish.hk2.classmodel.reflect.impl
Class TypeProxy<T extends Type>

java.lang.Object
  extended by org.glassfish.hk2.classmodel.reflect.impl.TypeProxy<T>

public class TypeProxy<T extends Type>
extends java.lang.Object

Proxy for types, used in place until the type can be properly instantiated. Proxy type also holds all incoming reference to the type.

Author:
Jerome Dochez

Nested Class Summary
static interface TypeProxy.Notifier<T>
           
 
Method Summary
static
<U extends Type>
java.util.Collection<U>
adapter(java.util.Collection<TypeProxy<U>> source)
           
 T get()
           
 java.util.Set<ClassModel> getImplementations()
           
 java.lang.String getName()
           
 java.util.Set<Member> getRefs()
           
 java.util.Set<Type> getSubTypeRefs()
           
 boolean isVisited()
           
 void set(T value)
           
 java.lang.String toString()
           
 void visited()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

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

set

public void set(T value)

get

public T get()

getName

public java.lang.String getName()

getRefs

public java.util.Set<Member> getRefs()

getSubTypeRefs

public java.util.Set<Type> getSubTypeRefs()

getImplementations

public java.util.Set<ClassModel> getImplementations()

adapter

public static <U extends Type> java.util.Collection<U> adapter(java.util.Collection<TypeProxy<U>> source)

visited

public void visited()

isVisited

public boolean isVisited()


Copyright © 2010 Oracle Corporation. All Rights Reserved.