public class JavaElementArrangementEntry extends DefaultArrangementEntry implements TypeAwareArrangementEntry, NameAwareArrangementEntry, ModifierAwareArrangementEntry
Constructor and Description |
---|
JavaElementArrangementEntry(ArrangementEntry parent,
int startOffset,
int endOffset,
ArrangementSettingsToken type,
java.lang.String name,
boolean canBeArranged) |
JavaElementArrangementEntry(ArrangementEntry parent,
TextRange range,
ArrangementSettingsToken type,
java.lang.String name,
boolean canBeMatched) |
Modifier and Type | Method and Description |
---|---|
void |
addModifier(ArrangementSettingsToken modifier) |
java.util.Set<ArrangementSettingsToken> |
getModifiers() |
java.lang.String |
getName() |
ArrangementSettingsToken |
getType() |
java.util.Set<ArrangementSettingsToken> |
getTypes() |
java.lang.String |
toString() |
addChild, addDependency, canBeMatched, getChildren, getDependencies, getEndOffset, getParent, getStartOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canBeMatched, getChildren, getDependencies, getEndOffset, getParent, getStartOffset
public JavaElementArrangementEntry(ArrangementEntry parent, TextRange range, ArrangementSettingsToken type, java.lang.String name, boolean canBeMatched)
public JavaElementArrangementEntry(ArrangementEntry parent, int startOffset, int endOffset, ArrangementSettingsToken type, java.lang.String name, boolean canBeArranged)
public java.util.Set<ArrangementSettingsToken> getModifiers()
getModifiers
in interface ModifierAwareArrangementEntry
public void addModifier(ArrangementSettingsToken modifier)
public java.lang.String getName()
getName
in interface NameAwareArrangementEntry
public java.util.Set<ArrangementSettingsToken> getTypes()
getTypes
in interface TypeAwareArrangementEntry
public ArrangementSettingsToken getType()
public java.lang.String toString()
toString
in class java.lang.Object