| java.lang.Object org.netbeans.modules.javascript.editing.JsElement org.netbeans.modules.javascript.editing.IndexedElement
All known Subclasses: org.netbeans.modules.javascript.editing.IndexedPackage, org.netbeans.modules.javascript.editing.IndexedProperty, org.netbeans.modules.javascript.editing.IndexedFunction,
IndexedElement | abstract public class IndexedElement extends JsElement (Code) | | An element coming from the Lucene index - not tied to an AST.
To obtain an equivalent AST element, use AstUtilities.getForeignNode().
author: Tor Norbye |
Method Summary | |
static IndexedElement | create(String attributes, String fileUrl, String name, String in, int attrIndex, JsIndex index, boolean createPackage) | static IndexedElement | create(String name, String signature, String fileUrl, JsIndex index, boolean createPackage) | public static int | decode(String s, int startIndex, int defaultValue) | public static String | decodeFlags(int flags) | public static String | encode(int flags) | public boolean | equals(Object obj) | protected int | getAttributeSection(int section) | protected List<String> | getComments() | public EnumSet<BrowserVersion> | getCompatibility() | int | getDocOffset() | public Document | getDocument() | public ParserFile | getFile() | public FileObject | getFileObject() | public String | getFilenameUrl() | public static int | getFlags(AstElement element) | public String | getIn() | public JsIndex | getIndex() | public ElementKind | getKind() | public Set<Modifier> | getModifiers() | public String | getName() | public String | getSignature() | public String | getType() | public int | hashCode() | public boolean | isConstructor() | public boolean | isDocumented() | public boolean | isFunction() | public boolean | isInherited() | public boolean | isNoDoc() | public boolean | isPrivate() | public boolean | isPublic() | public boolean | isSmart() | public boolean | isStatic() | public void | setInherited(boolean inherited) | public void | setSmart(boolean smart) |
ARG_INDEX | final protected static int ARG_INDEX(Code) | | |
BROWSER_INDEX | final protected static int BROWSER_INDEX(Code) | | |
CASE_SENSITIVE_INDEX | final protected static int CASE_SENSITIVE_INDEX(Code) | | |
CONSTRUCTOR | final public static int CONSTRUCTOR(Code) | | This is a constructor
|
DOCUMENTED | final public static int DOCUMENTED(Code) | | This method is documented
|
DOC_INDEX | final protected static int DOC_INDEX(Code) | | |
FLAG_INDEX | final protected static int FLAG_INDEX(Code) | | |
FUNCTION | final public static int FUNCTION(Code) | | This is a function, not a property
|
GLOBAL | final public static int GLOBAL(Code) | | This is a global variable
|
IN_INDEX | final protected static int IN_INDEX(Code) | | |
NAME_INDEX | final protected static int NAME_INDEX(Code) | | |
NODE_INDEX | final protected static int NODE_INDEX(Code) | | |
NODOC | final public static int NODOC(Code) | | This element is deliberately not documented (rdoc :nodoc:)
|
PRIVATE | final public static int PRIVATE(Code) | | This method is private
|
STATIC | final public static int STATIC(Code) | | This element is "static" (e.g. it's a classvar for fields, class method for methods etc)
|
TYPE_INDEX | final protected static int TYPE_INDEX(Code) | | |
fileObject | protected FileObject fileObject(Code) | | |
flags | protected int flags(Code) | | |
inherited | protected boolean inherited(Code) | | |
kind | protected ElementKind kind(Code) | | |
smart | protected boolean smart(Code) | | |
decode | public static int decode(String s, int startIndex, int defaultValue)(Code) | | Return flag corresponding to the given encoding chars
|
decodeFlags | public static String decodeFlags(int flags)(Code) | | |
encode | public static String encode(int flags)(Code) | | Return a string (suitable for persistence) encoding the given flags
|
getAttributeSection | protected int getAttributeSection(int section)(Code) | | |
getDocOffset | int getDocOffset()(Code) | | |
getFile | public ParserFile getFile()(Code) | | |
getFileObject | public FileObject getFileObject()(Code) | | |
getKind | public ElementKind getKind()(Code) | | |
getModifiers | public Set<Modifier> getModifiers()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isConstructor | public boolean isConstructor()(Code) | | |
isDocumented | public boolean isDocumented()(Code) | | |
isFunction | public boolean isFunction()(Code) | | |
isInherited | public boolean isInherited()(Code) | | |
isNoDoc | public boolean isNoDoc()(Code) | | |
isPrivate | public boolean isPrivate()(Code) | | |
isPublic | public boolean isPublic()(Code) | | |
isSmart | public boolean isSmart()(Code) | | |
isStatic | public boolean isStatic()(Code) | | |
setInherited | public void setInherited(boolean inherited)(Code) | | |
setSmart | public void setSmart(boolean smart)(Code) | | |
|
|