Package | Description |
---|---|
org.glassfish.hk2.classmodel.reflect | |
org.glassfish.hk2.classmodel.reflect.impl |
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotationType
Represents an annotation
|
interface |
ClassModel
Model that represents a class
|
interface |
ExtensibleType<T extends ExtensibleType>
An extensible type is a type that can be subclassed like an interface
or a class.
|
interface |
InterfaceModel
Represents an interface declaration.
|
Modifier and Type | Method and Description |
---|---|
<T extends Type> |
Types.getBy(java.lang.Class<T> type,
java.lang.String name)
Returns a Model instance given a name
|
Modifier and Type | Method and Description |
---|---|
Type |
Types.getBy(java.lang.String name)
Returns a Type instance given a name
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Type> |
Types.getAllTypes()
Returns a unmodifiable list of collected types obtained during the parsing activity
|
Modifier and Type | Class and Description |
---|---|
class |
TypeProxy<T extends Type>
Proxy for types, used in place until the type can be properly instantiated.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationTypeImpl
Implementation of an annotation model
|
class |
ClassModelImpl
Implementation of a class model
|
class |
ExtensibleTypeImpl<T extends ExtensibleType>
Implementation of an extensible type (Class or Interface)
|
class |
InterfaceModelImpl
Implementation of an interface model
|
class |
TypeImpl
Implementation of the Type abstraction.
|
Modifier and Type | Field and Description |
---|---|
private T |
TypeProxy.value |
Modifier and Type | Field and Description |
---|---|
private TypeProxy<Type> |
TypeImpl.sink |
private java.util.concurrent.ConcurrentMap<java.lang.Class,java.util.concurrent.ConcurrentMap<java.lang.String,TypeProxy<Type>>> |
TypesCtr.storage
Storage indexed by TYPE : interface | class | annotation and then by name.
|
private java.util.List<Type> |
TypeProxy.subTypeRefs |
private java.util.concurrent.ConcurrentMap<java.lang.String,TypeProxy<Type>> |
TypesCtr.unknownTypesStorage
Map of encountered types which we don't know if it is an interface, class or annotation
|
Modifier and Type | Method and Description |
---|---|
static <U extends Type> |
TypeProxy.adapter(java.util.Collection<TypeProxy<U>> source) |
<T extends Type> |
TypesCtr.getBy(java.lang.Class<T> type,
java.lang.String name) |
<T extends Type> |
TypesImpl.getHolder(java.lang.String name,
java.lang.Class<T> type) |
<T extends Type> |
TypeBuilder.getHolder(java.lang.String name,
java.lang.Class<T> type) |
<T extends Type> |
TypesCtr.getHolder(java.lang.String name,
java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
Type |
TypesCtr.getBy(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Type> |
TypesCtr.getAllTypes() |
TypeProxy<Type> |
TypesCtr.getHolder(java.lang.String name) |
<T extends Type> |
TypesCtr.getHolder(java.lang.String name,
java.lang.Class<T> type) |
(package private) TypeProxy<Type> |
TypeImpl.getProxy() |
java.util.List<Type> |
TypeProxy.getSubTypeRefs() |
java.lang.Class<? extends Type> |
TypesImpl.getType(int access) |
java.lang.Class<? extends Type> |
TypeBuilder.getType(int access) |
Modifier and Type | Method and Description |
---|---|
void |
TypeProxy.addSubTypeRef(Type subType) |
Constructor and Description |
---|
AnnotationTypeImpl(java.lang.String name,
TypeProxy<Type> sink) |
ClassModelImpl(java.lang.String name,
TypeProxy<Type> sink,
TypeProxy parent) |
ExtensibleTypeImpl(java.lang.String name,
TypeProxy<Type> sink,
TypeProxy parent) |
InterfaceModelImpl(java.lang.String name,
TypeProxy<Type> sink,
TypeProxy parent) |
TypeImpl(java.lang.String name,
TypeProxy<Type> sink) |