Class ModifiersMapper.ModifiersParsePair
java.lang.Object
software.coley.sourcesolver.model.AbstractModel
software.coley.sourcesolver.mapping.ModifiersMapper.ModifiersParsePair
- All Implemented Interfaces:
Model
- Enclosing class:
ModifiersMapper
Intermediate holder for the annotations preceding the modifiers and the actual modifiers.
The language specification has annotations go here as it is a common element preceding classes,
fields, and methods.
-
Constructor Summary
ConstructorsConstructorDescriptionModifiersParsePair(List<AnnotationExpressionModel> annotations, ModifiersModel modifiers) -
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, toString, wait, wait, waitMethods inherited from interface software.coley.sourcesolver.model.Model
getChildAtPosition, getParentOfType, getRecursiveChildrenOfType, getSource, isChildOf, isParentOf, resolve, visit
-
Constructor Details
-
ModifiersParsePair
public ModifiersParsePair(@Nullable List<AnnotationExpressionModel> annotations, @Nullable ModifiersModel modifiers)
-
-
Method Details
-
getAnnotations
-
getModifiers
-
isEmpty
public boolean isEmpty() -
equals
- Specified by:
equalsin classAbstractModel
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractModel
-