Interface NameHoldingModel
- All Superinterfaces:
Model,NamedModel
- All Known Implementing Classes:
AnnotationArgumentModel,AnnotationExpressionModel,ClassModel,MethodModel,MethodReferenceExpressionModel,PackageModel,VariableModel
A model that has an identifier as an expression.
- Author:
- Matt Coley
-
Method Summary
Methods inherited from interface software.coley.sourcesolver.model.Model
getChildAtPosition, getChildren, getParent, getParentOfType, getRange, getRecursiveChildrenOfType, getSource, isChildOf, isParentOf, resolve, resolveAt, visit
-
Method Details
-
getName
- Specified by:
getNamein interfaceNamedModel- Returns:
- Identifier name.
-
getNameModel
- Returns:
- Model of name.
Can be
nullin cases where thejavacAPI doesn't track names. Thename stringshould still be present though.
-