Uses of Class
spoon.support.sniper.internal.ElementSourceFragment
Package
Description
This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).
This package provides an implementation of the spoon.reflect package.
-
Uses of ElementSourceFragment in spoon.reflect.declaration
-
Uses of ElementSourceFragment in spoon.support.reflect
-
Uses of ElementSourceFragment in spoon.support.reflect.declaration
Modifier and TypeMethodDescriptionCtCompilationUnitImpl.getOriginalSourceFragment()
CtElementImpl.getOriginalSourceFragment()
-
Uses of ElementSourceFragment in spoon.support.sniper.internal
Modifier and TypeFieldDescriptionstatic ElementSourceFragment
ElementSourceFragment.NO_SOURCE_FRAGMENT
represents anElementSourceFragment
, which doesn't existModifier and TypeMethodDescriptionElementSourceFragment.add(ElementSourceFragment other)
adds `other`ElementSourceFragment
into tree ofElementSourceFragment
s represented by this root elementstatic ElementSourceFragment
ElementSourceFragment.createSourceFragmentsFrom(CtElement element)
Builds a tree of source fragments for `element` and all its children, based on the source positions of each elementElementSourceFragment.getFirstChild()
ElementSourceFragment.getNextSibling()
ElementSourceFragment.getSourceFragmentOf(SourcePositionHolder element, int start, int end)
Searches the tree of fragments for theElementSourceFragment
with expected `element`, which contains `start` and `end` source interval.Modifier and TypeMethodDescriptionElementSourceFragment.add(ElementSourceFragment other)
adds `other`ElementSourceFragment
into tree ofElementSourceFragment
s represented by this root elementModifierConstructorDescriptionSourceFragmentContextNormal(MutableTokenWriter mutableTokenWriter, ElementSourceFragment rootFragment, ChangeResolver changeResolver)