Class Id
java.lang.Object
org.microbean.bean.Id
- All Implemented Interfaces:
Constable
An identifier for a
Bean.
Note that because an Id houses a BeanTypeList, and because a BeanTypeList houses TypeMirror instances, and because many TypeMirror instances may
model the same type, two Ids that might appear as equal at first glance may not be.
- Author:
- Laird Nelson
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionId(BeanTypeList types, List<AnnotationMirror> annotations) Creates a newId. -
Method Summary
Modifier and TypeMethodDescriptionfinal List<AnnotationMirror> final Optional<DynamicConstantDesc<Id>> final booleanfinal inthashCode()final StringtoString()final BeanTypeListtypes()
-
Constructor Details
-
Id
Creates a newId.- Parameters:
types- a non-nullBeanTypeListannotations- a non-nullListofAnnotationMirrors further describing the suppliedtypes- See Also:
-
-
Method Details
-
annotations
- Returns:
- a non-
null, immutable, determinateListofAnnotationMirrors describing thisId - See Also:
-
describeConstable
- Specified by:
describeConstablein interfaceConstable
-
equals
-
hashCode
-
toString
-
types
- Returns:
- a non-
nulldeterminateBeanTypeListdescribing thisId - See Also:
-