Class PluginProgrammingElement
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.model.element.Element
-
- com.hello2morrow.sonargraph.core.model.element.ElementWithIssues
-
- com.hello2morrow.sonargraph.core.model.element.NamedElement
-
- com.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
-
- com.hello2morrow.sonargraph.core.model.programming.ProgrammingElementWithChildren
-
- com.hello2morrow.sonargraph.core.api.model.PluginProgrammingElement
-
- All Implemented Interfaces:
com.hello2morrow.foundation.persistence.IPersistable,IPluginElement,com.hello2morrow.sonargraph.core.model.element.ICloneableParent,com.hello2morrow.sonargraph.core.model.element.IElement,com.hello2morrow.sonargraph.core.model.element.IPhysicalElement,com.hello2morrow.sonargraph.core.model.path.ISourceElementCountProvider,com.hello2morrow.sonargraph.core.model.snapshot.ISnapshotDependency.IDependencyEndpoint,com.hello2morrow.sonargraph.core.model.snapshot.ISnapshotReader.IRetrievable,com.hello2morrow.sonargraph.core.model.snapshot.ISnapshotWriter.IStorable,java.lang.Cloneable
- Direct Known Subclasses:
PluginProgrammingElementComponent
public class PluginProgrammingElement extends com.hello2morrow.sonargraph.core.model.programming.ProgrammingElementWithChildren implements IPluginElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePluginProgrammingElement.IVisitor-
Nested classes/interfaces inherited from class com.hello2morrow.sonargraph.core.model.element.NamedElement
com.hello2morrow.sonargraph.core.model.element.NamedElement.IFilter, com.hello2morrow.sonargraph.core.model.element.NamedElement.INamedElementVisitor
-
-
Constructor Summary
Constructors Constructor Description PluginProgrammingElement(com.hello2morrow.sonargraph.core.model.element.IModelServiceProvider msp, com.hello2morrow.sonargraph.core.model.element.NamedElement parent, java.lang.String name, int lineNumber, IMetaClass metaClass, com.hello2morrow.sonargraph.core.model.element.IStructureItem structureItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(com.hello2morrow.sonargraph.core.model.element.NamedElement.INamedElementVisitor visitor)java.lang.StringgetDescription()java.lang.StringgetElementName()java.lang.StringgetImageResourceName()IMetaClassgetMetaClass()java.lang.StringgetName()java.lang.StringgetPluginElementType()java.lang.StringgetPluginId()java.lang.StringgetPluginInfo()java.lang.StringgetPresentationName(boolean shortName)AnygetProperty(java.lang.String property)<T> TgetProperty(java.lang.String property, java.lang.Class<T> cls)java.lang.StringgetShortName()com.hello2morrow.sonargraph.core.model.element.IStructureItemgetStructureItem()booleanisMember()booleanpersist(com.hello2morrow.sonargraph.core.model.snapshot.ISnapshotProcessor.Mode mode)voidremoveProperty(java.lang.String property)voidsetProperty(java.lang.String property, Any value)-
Methods inherited from class com.hello2morrow.sonargraph.core.model.programming.ProgrammingElementWithChildren
remove
-
Methods inherited from class com.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
addDependency, addDependencyIfNotPresent, canBelongToNamespace, dispose, equals, finishModification, getAnnotations, getChildren, getCurrentModel, getDebugInfo, getDefinitions, getDependencies, getDependencyIterator, getDomain, getFirstDependencyByDependencyType, getIncomingDependencies, getIncomingDependenciesRecursively, getIncomingDependencyIterator, getIncomingDependencyIterator, getIncomingDependencyIterator, getIndexOfOutgoingDependency, getIssueManager, getLineNumber, getLogicalGroupInternal, getModelServiceProvider, getNamedElement, getOriginal, getOutgoingDependencies, getOutgoingDependenciesRecursively, getOutgoingDependencyAt, getOutgoingDependencyIterator, getOutgoingDependencyIterator, getOutgoingDependencyTargetAt, getParent, getParts, getPropertiesManager, getRawPresentationName, getRepresentative, hasDependencies, hashCode, hasIncomingDependencies, hasMultipleDefinitions, hasOutgoingDependencies, ignoreInModelRepresentation, isExternal, mergeDependenciesFrom, parentRemoved, readDependencyList, removeDependencies, removeDependency, removeOutgoingDependencies, retrieve, setLineNumber, setModelServiceProvider, setShortName, store, toString, transferDependenciesFrom, transferIncomingDependenciesTo, unlinkDependency, writeDependencyList
-
Methods inherited from class com.hello2morrow.sonargraph.core.model.element.NamedElement
addChild, changeParent, clone, forgetChildren, fullyQualifiedName, getAllChildren, getAllChildren, getAllChildrenExceptGhosts, getAllChildrenExceptGhosts, getChildren, getChildren, getChildren, getChildrenList, getChildrenRecursively, getChildrenRecursively, getElement, getFirstChild, getFirstChild, getFirstChildRecursively, getFirstParent, getFullyQualifiedName, getFullyQualifiedNamePart, getIndexOf, getLanguage, getNumberOfChildren, getOriginalChildren, getOriginalChildrenRecursively, getOriginalFullyQualifiedName, getOriginalParent, getParent, getParent, getParents, getPersistableChildren, getRefactoringState, getUniqueChild, getUniqueChild, getUniqueExistingChild, hasAllChildren, hasAllChildrenRecursively, hasAsParent, hasBeenDirectlyRefactored, hasChildren, hasChildren, hasChildren, hasChildrenExcept, hasChildrenRecursively, hasPersistableChildren, ignoreInModelSearch, ignoreIssues, isCompilerGenerated, isDefinedInEnclosingElement, isExcluded, isOfStructureItem, isValid, moveChild, originalFullyQualifiedName, performRemoveChild, persistChildren, removeChild, removeChildren, removeOnLastChildRemoval, resolveByFullyQualifiedNamePart, resolveOriginalByFullyQualifiedNamePart, setParent
-
Methods inherited from class com.hello2morrow.sonargraph.core.model.element.ElementWithIssues
addIssue, getIssues, getIssues, hasIssues, hasIssues, hasIssues, hasUnresolvedErrorIssues, hasUnresolvedWarningIssues, removeIssue, removeIssues, removeIssues
-
Methods inherited from class com.hello2morrow.sonargraph.core.model.element.Element
escapeSpecialCharacters, getImageResourceDecoratorInfo, getInformation, getOriginalName, getOriginalPresentationName, getOriginalShortName, getPresentationKind, getProperties, getRefactoringInfo, getStandardPresentationKind, hasProperty, isGhost, isProxy, readAttributes, splitDescriptor, unescapeSpecialCharacters, writeAttributes
-
-
-
-
Constructor Detail
-
PluginProgrammingElement
public PluginProgrammingElement(com.hello2morrow.sonargraph.core.model.element.IModelServiceProvider msp, com.hello2morrow.sonargraph.core.model.element.NamedElement parent, java.lang.String name, int lineNumber, IMetaClass metaClass, com.hello2morrow.sonargraph.core.model.element.IStructureItem structureItem)
-
-
Method Detail
-
persist
public final boolean persist(com.hello2morrow.sonargraph.core.model.snapshot.ISnapshotProcessor.Mode mode)
- Specified by:
persistin interfacecom.hello2morrow.sonargraph.core.model.snapshot.ISnapshotWriter.IStorable- Overrides:
persistin classcom.hello2morrow.sonargraph.core.model.element.Element
-
getStructureItem
public final com.hello2morrow.sonargraph.core.model.element.IStructureItem getStructureItem()
- Specified by:
getStructureItemin classcom.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
-
getMetaClass
public final IMetaClass getMetaClass()
-
isMember
public final boolean isMember()
- Specified by:
isMemberin classcom.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
-
getElementName
public final java.lang.String getElementName()
- Specified by:
getElementNamein interfaceIPluginElement
-
getName
public final java.lang.String getName()
- Overrides:
getNamein classcom.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
-
getShortName
public final java.lang.String getShortName()
- Overrides:
getShortNamein classcom.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
-
getPresentationName
public final java.lang.String getPresentationName(boolean shortName)
- Overrides:
getPresentationNamein classcom.hello2morrow.sonargraph.core.model.element.Element
-
getDescription
public final java.lang.String getDescription()
- Overrides:
getDescriptionin classcom.hello2morrow.sonargraph.core.model.element.Element
-
getImageResourceName
public final java.lang.String getImageResourceName()
- Overrides:
getImageResourceNamein classcom.hello2morrow.sonargraph.core.model.element.Element
-
getProperty
public final <T> T getProperty(java.lang.String property, java.lang.Class<T> cls)- Overrides:
getPropertyin classcom.hello2morrow.sonargraph.core.model.element.Element
-
getProperty
public final Any getProperty(java.lang.String property)
- Specified by:
getPropertyin interfaceIPluginElement
-
setProperty
public final void setProperty(java.lang.String property, Any value)
-
removeProperty
public final void removeProperty(java.lang.String property)
-
getPluginId
public final java.lang.String getPluginId()
-
getPluginElementType
public final java.lang.String getPluginElementType()
-
getPluginInfo
public final java.lang.String getPluginInfo()
-
accept
public void accept(com.hello2morrow.sonargraph.core.model.element.NamedElement.INamedElementVisitor visitor)
- Overrides:
acceptin classcom.hello2morrow.sonargraph.core.model.programming.ProgrammingElementWithChildren
-
-