Class MethodReferenceExpressionModel
java.lang.Object
software.coley.sourcesolver.model.AbstractModel
software.coley.sourcesolver.model.AbstractExpressionModel
software.coley.sourcesolver.model.MethodReferenceExpressionModel
- All Implemented Interfaces:
Model,NamedModel,NameHoldingModel
public class MethodReferenceExpressionModel
extends AbstractExpressionModel
implements NameHoldingModel
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMethodReferenceExpressionModel(Range range, MethodReferenceExpressionModel.Mode mode, AbstractExpressionModel qualifier, NameExpressionModel name, List<Model> typeArguments) -
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, visitMethods inherited from interface software.coley.sourcesolver.model.NameHoldingModel
getName
-
Constructor Details
-
MethodReferenceExpressionModel
public MethodReferenceExpressionModel(@Nonnull Range range, @Nonnull MethodReferenceExpressionModel.Mode mode, @Nonnull AbstractExpressionModel qualifier, @Nonnull NameExpressionModel name, @Nonnull List<Model> typeArguments)
-
-
Method Details
-
getMode
-
getQualifier
-
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.
-
getTypeArguments
-
equals
- Specified by:
equalsin classAbstractModel
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractModel
-
toString
-