Class AutoWire
java.lang.Object
net.officefloor.compile.internal.structure.AutoWire
- All Implemented Interfaces:
Comparable<AutoWire>
Auto-wire.
- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanObtains the qualifier.getType()Obtains the type.Class<?>getTypeClass(SourceContext sourceContext) Obtains the type.inthashCode()toString()
-
Constructor Details
-
AutoWire
Instantiate.- Parameters:
qualifier- Qualifier. May benull.type- Type.
-
AutoWire
Instantiate with only type.- Parameters:
type- Type.
-
AutoWire
Instantiate.- Parameters:
qualifier- QualifierAnnotation.type- Type.
-
AutoWire
Instantiate.- Parameters:
qualifier- Qualifier.type- Type.
-
AutoWire
Instantiate.- Parameters:
type- Type.
-
-
Method Details
-
getQualifier
Obtains the qualifier.- Returns:
- Qualifier. May be
null.
-
getType
Obtains the type.- Returns:
- Type.
-
getTypeClass
Obtains the type.- Parameters:
sourceContext-SourceContext.- Returns:
- Type
Classornullif unable to retrieve.
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<AutoWire>
-