Class AnnotationArgumentModel
java.lang.Object
software.coley.sourcesolver.model.AbstractModel
software.coley.sourcesolver.model.AnnotationArgumentModel
- All Implemented Interfaces:
Model,NamedModel,NameHoldingModel
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationArgumentModel(Range range, NameExpressionModel nameModel, AbstractExpressionModel valueModel) -
Method Summary
Methods inherited from class software.coley.sourcesolver.model.AbstractModel
getChildren, getParent, getRange, resolveAtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.coley.sourcesolver.model.Model
getChildAtPosition, getChildren, getParent, getParentOfType, getRange, getRecursiveChildrenOfType, getSource, isChildOf, isParentOf, resolve, resolveAt, visit
-
Constructor Details
-
AnnotationArgumentModel
public AnnotationArgumentModel(@Nonnull Range range, @Nullable NameExpressionModel nameModel, @Nonnull AbstractExpressionModel valueModel)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceNamedModel- Specified by:
getNamein interfaceNameHoldingModel- Returns:
- Identifier name.
-
getNameModel
- Specified by:
getNameModelin interfaceNameHoldingModel- Returns:
- Model of name.
Can be
nullin cases where thejavacAPI doesn't track names. Thename stringshould still be present though.
-
getValueModel
-
equals
- Specified by:
equalsin classAbstractModel
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractModel
-
toString
-