Class TypeProxy<T extends Type>
java.lang.Object
org.glassfish.hk2.classmodel.reflect.impl.TypeProxy<T>
Proxy for types, used in place until the type can be properly instantiated.
Proxy type also holds all incoming reference to the type.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ClassModel> private final Stringprivate final TypeProxy.Notifier<T> private Tprivate boolean -
Constructor Summary
ConstructorsConstructorDescriptionTypeProxy(TypeProxy.Notifier<T> notifier, String name) Creates a new type proxy, this ctor is package private as many other activities must be performed when a new proxy type is created. -
Method Summary
Modifier and TypeMethodDescriptionstatic <U extends Type>
Collection<U> adapter(Collection<TypeProxy<U>> source) voidaddFieldRef(FieldModel field) voidaddImplementation(ClassModel classModel) voidaddSubTypeRef(Type subType) get()getName()getRefs()booleanvoidtoString()voidvisited()
-
Field Details
-
value
-
visited
private volatile boolean visited -
name
-
notifier
-
fieldRefs
-
subTypeRefs
-
implementations
-
-
Constructor Details
-
TypeProxy
TypeProxy(TypeProxy.Notifier<T> notifier, String name) Creates a new type proxy, this ctor is package private as many other activities must be performed when a new proxy type is created.- Parameters:
notifier- notification handle to notify receiver the proxied type has been resolvedname- type name
-
-
Method Details