Class AvailableTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.structure.AvailableTypeImpl
-
- All Implemented Interfaces:
AvailableType
public class AvailableTypeImpl extends java.lang.Object implements AvailableType
AvailableType
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AvailableTypeImpl(java.lang.String qualifier, java.lang.Class<?> type)
Instantiate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AvailableType[]
extractAvailableTypes(java.util.Map<java.lang.String,ManagedObjectNode> managedObjects, CompileContext compileContext, SourceContext sourceContext)
Extracts theAvailableType
instances.java.lang.String
getQualifier()
Obtains the qualifier.java.lang.Class<?>
getType()
Obtains the type.
-
-
-
Method Detail
-
extractAvailableTypes
public static AvailableType[] extractAvailableTypes(java.util.Map<java.lang.String,ManagedObjectNode> managedObjects, CompileContext compileContext, SourceContext sourceContext)
Extracts theAvailableType
instances.- Parameters:
managedObjects
-ManagedObjectNode
instances by name.compileContext
-CompileContext
.- Returns:
- Extracted
AvailableType
instances.
-
getQualifier
public java.lang.String getQualifier()
Description copied from interface:AvailableType
Obtains the qualifier.- Specified by:
getQualifier
in interfaceAvailableType
- Returns:
- Qualifier. May be
null
.
-
getType
public java.lang.Class<?> getType()
Description copied from interface:AvailableType
Obtains the type.- Specified by:
getType
in interfaceAvailableType
- Returns:
- Type.
-
-