Class TypeCache
- java.lang.Object
-
- com.buschmais.jqassistant.plugin.java.api.scanner.TypeCache
-
public class TypeCache extends java.lang.ObjectCache for resolved types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypeCache.CachedType<T extends TypeDescriptor>Represents a type and all of its declared members.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeCache.CachedTypeget(java.lang.String fullQualifiedName)Find a type by its fully qualified named.voidput(java.lang.String fullQualifiedName, TypeCache.CachedType cachedType)Put a type.
-
-
-
Method Detail
-
get
public TypeCache.CachedType get(java.lang.String fullQualifiedName)
Find a type by its fully qualified named.- Parameters:
fullQualifiedName- The fqn.- Returns:
- The cached type or
null.
-
put
public void put(java.lang.String fullQualifiedName, TypeCache.CachedType cachedType)Put a type.- Parameters:
fullQualifiedName- The fqn.cachedType- The type.
-
-