Package editor.search
Class LocalVarFeatureInfo
- java.lang.Object
-
- editor.search.LocalVarFeatureInfo
-
- All Implemented Interfaces:
IFeatureInfo
public class LocalVarFeatureInfo extends java.lang.Object implements IFeatureInfo
-
-
Field Summary
Fields Modifier and Type Field Description private IFeatureInfo_containerprivate ISymbol_symbol
-
Constructor Summary
Constructors Constructor Description LocalVarFeatureInfo(IIdentifierExpression id)LocalVarFeatureInfo(ILocalVarDeclaration decl)LocalVarFeatureInfo(IVarStatement decl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)private IFeatureInfofindMethodInfo(IParsedElement pe)private ISymbolfindRootSymbol(ISymbol symbol)IFeatureInfogetContainer()Get this feature's containing feature.java.lang.StringgetDescription()A full description of this feature.java.lang.StringgetDisplayName()Gets the display name of this feature.java.lang.StringgetName()Gets the programmatic name or identifier of this feature.ITypegetOwnersType()Get this feature's owner's type.ISymbolgetSymbol()inthashCode()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getLocationInfo
-
-
-
-
Field Detail
-
_symbol
private final ISymbol _symbol
-
_container
private final IFeatureInfo _container
-
-
Constructor Detail
-
LocalVarFeatureInfo
public LocalVarFeatureInfo(IIdentifierExpression id)
-
LocalVarFeatureInfo
public LocalVarFeatureInfo(IVarStatement decl)
-
LocalVarFeatureInfo
public LocalVarFeatureInfo(ILocalVarDeclaration decl)
-
-
Method Detail
-
getSymbol
public ISymbol getSymbol()
-
getContainer
public IFeatureInfo getContainer()
Description copied from interface:IFeatureInfoGet this feature's containing feature. May be null.- Specified by:
getContainerin interfaceIFeatureInfo
-
getOwnersType
public IType getOwnersType()
Description copied from interface:IFeatureInfoGet this feature's owner's type. If this feature has no owner, this is the type of the feature itself. Typically, the only kind of feature w/o an owner is an ITypeInfo, so properties, methods, params, etc. s/b considered owned. Hence, ultimately an ITypeInfo's type will be the owner's type for any given feature.- Specified by:
getOwnersTypein interfaceIFeatureInfo
-
getName
public java.lang.String getName()
Description copied from interface:IFeatureInfoGets the programmatic name or identifier of this feature. Note this name should follow Java identifier naming conventions (alpha-num and underscores, but can't start with a digit).- Specified by:
getNamein interfaceIFeatureInfo
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:IFeatureInfoGets the display name of this feature. There is no guarantee this display name is localized.- Specified by:
getDisplayNamein interfaceIFeatureInfo
-
getDescription
public java.lang.String getDescription()
Description copied from interface:IFeatureInfoA full description of this feature.- Specified by:
getDescriptionin interfaceIFeatureInfo
-
findMethodInfo
private IFeatureInfo findMethodInfo(IParsedElement pe)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-