|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IType in org.eclipse.wst.jsdt.core |
---|
Methods in org.eclipse.wst.jsdt.core that return IType | |
---|---|
IType |
IJavaScriptUnit.createType(String contents,
IJavaScriptElement sibling,
boolean force,
IProgressMonitor monitor)
Creates and returns a type in this javaScript file with the given contents. |
IType |
IType.createType(String contents,
IJavaScriptElement sibling,
boolean force,
IProgressMonitor monitor)
Creates and returns a type in this type with the given contents. |
IType |
ITypeRoot.findPrimaryType()
Finds the primary type of this JavaScript type root (that is, the type with the same name as the javascript file), or null if no such a type exists. |
IType |
IJavaScriptProject.findType(String fullyQualifiedName)
Returns the first type found following this project's includepath with the given fully qualified name or null if none is found. |
IType |
IJavaScriptProject.findType(String fullyQualifiedName,
IProgressMonitor progressMonitor)
Same functionality as IJavaScriptProject.findType(String) but also look for secondary
types if given name does not match a javaScript unit name. |
IType |
IJavaScriptProject.findType(String packageName,
String typeQualifiedName,
IProgressMonitor progressMonitor)
Same functionality as #findType(String, String) but also look for
secondary types if given name does not match a javaScript unit name. |
IType |
IJavaScriptProject.findType(String packageName,
String typeQualifiedName,
WorkingCopyOwner owner,
IProgressMonitor progressMonitor)
Same functionality as #findType(String, String, WorkingCopyOwner)
but also look for secondary types if given name does not match a javaScript unit name. |
IType |
IJavaScriptProject.findType(String fullyQualifiedName,
WorkingCopyOwner owner,
IProgressMonitor progressMonitor)
Same functionality as #findType(String, WorkingCopyOwner)
but also look for secondary types if given name does not match
a javaScript unit name. |
IType[] |
IJavaScriptProject.findTypes(String fullyQualifiedName)
Returns all the types found following this project's includepath with the given fully qualified name or null if none is found. |
IType[] |
IJavaScriptProject.findTypes(String fullyQualifiedName,
WorkingCopyOwner owner)
Returns all the types found following this project's includepath with the given fully qualified name or null if none is found. |
IType[] |
ITypeHierarchy.getAllClasses()
Returns all classes in this type hierarchy's graph, in no particular order. |
IType[] |
ITypeHierarchy.getAllSubtypes(IType type)
Returns all resolved subtypes (direct and indirect) of the given type, in no particular order, limited to the types in this type hierarchy's graph. |
IType[] |
ITypeHierarchy.getAllSuperclasses(IType type)
Returns all resolved superclasses of the given class, in bottom-up order. |
IType[] |
IJavaScriptUnit.getAllTypes()
Returns all types declared in this javaScript file in the order in which they appear in the source. |
IType |
IMember.getDeclaringType()
Returns the type in which this member is declared, or null
if this member is not declared in a type (for example, a top-level type). |
IType[] |
ITypeHierarchy.getRootClasses()
Returns all classes in the graph which have no resolved superclass, in no particular order. |
IType[] |
ITypeHierarchy.getSubclasses(IType type)
Returns the direct resolved subclasses of the given class, in no particular order, limited to the classes in this type hierarchy's graph. |
IType |
ITypeHierarchy.getSuperclass(IType type)
Returns the resolved superclass of the given class, or null if the given class has no superclass or
the superclass could not be resolved. |
IType |
ITypeHierarchy.getType()
Returns the type this hierarchy was computed for. |
IType |
IClassFile.getType()
Returns the first type contained in this file. |
IType |
IFunctionContainer.getType(String name)
Returns the type with the specified name |
IType |
IType.getType(String name)
Returns the member type declared in this type with the given simple name. |
IType |
IMember.getType(String name,
int occurrenceCount)
Returns the local or anonymous type declared in this source member with the given simple name and/or with the specified position relative to the order they are defined in the source. |
IType[] |
IJavaScriptUnit.getTypes()
Returns the top-level types declared in this javaScript file in the order in which they appear in the source. |
IType[] |
IType.getTypes()
Returns the immediate member types declared by this type. |
IType[] |
IClassFile.getTypes()
|
Methods in org.eclipse.wst.jsdt.core with parameters of type IType | |
---|---|
boolean |
ITypeHierarchy.contains(IType type)
Returns whether the given type is part of this hierarchy. |
IType[] |
ITypeHierarchy.getAllSubtypes(IType type)
Returns all resolved subtypes (direct and indirect) of the given type, in no particular order, limited to the types in this type hierarchy's graph. |
IType[] |
ITypeHierarchy.getAllSuperclasses(IType type)
Returns all resolved superclasses of the given class, in bottom-up order. |
int |
ITypeHierarchy.getCachedFlags(IType type)
Return the flags associated with the given type (would be equivalent to IMember.getFlags() ),
or -1 if this information wasn't cached on the hierarchy during its computation. |
IType[] |
ITypeHierarchy.getSubclasses(IType type)
Returns the direct resolved subclasses of the given class, in no particular order, limited to the classes in this type hierarchy's graph. |
IType |
ITypeHierarchy.getSuperclass(IType type)
Returns the resolved superclass of the given class, or null if the given class has no superclass or
the superclass could not be resolved. |
ITypeHierarchy |
IJavaScriptProject.newTypeHierarchy(IType type,
IRegion region,
IProgressMonitor monitor)
Creates and returns a type hierarchy for the given type considering subtypes in the specified region. |
ITypeHierarchy |
IJavaScriptProject.newTypeHierarchy(IType type,
IRegion region,
WorkingCopyOwner owner,
IProgressMonitor monitor)
Creates and returns a type hierarchy for the given type considering subtypes in the specified region and considering types in the working copies with the given owner. |
Uses of IType in org.eclipse.wst.jsdt.core.eval |
---|
Methods in org.eclipse.wst.jsdt.core.eval with parameters of type IType | |
---|---|
void |
IEvaluationContext.evaluateCodeSnippet(String codeSnippet,
String[] localVariableTypeNames,
String[] localVariableNames,
int[] localVariableModifiers,
IType declaringType,
boolean isStatic,
boolean isConstructorCall,
ICodeSnippetRequestor requestor,
IProgressMonitor progressMonitor)
Evaluates the given code snippet in the context of a suspended thread. |
Uses of IType in org.eclipse.wst.jsdt.core.refactoring.descriptors |
---|
Methods in org.eclipse.wst.jsdt.core.refactoring.descriptors with parameters of type IType | |
---|---|
void |
MoveStaticMembersDescriptor.setDestinationType(IType type)
Sets the destination type of the move operation. |
void |
UseSupertypeDescriptor.setSubtype(IType type)
Sets the subtype of the refactoring. |
void |
UseSupertypeDescriptor.setSupertype(IType type)
Sets the supertype of the refactoring. |
Uses of IType in org.eclipse.wst.jsdt.core.search |
---|
Methods in org.eclipse.wst.jsdt.core.search that return IType | |
---|---|
abstract IType |
TypeNameMatch.getType()
Returns a javascript model type handle. |
Methods in org.eclipse.wst.jsdt.core.search with parameters of type IType | |
---|---|
static IJavaScriptSearchScope |
SearchEngine.createHierarchyScope(IType type)
Returns a JavaScript search scope limited to the hierarchy of the given type. |
static IJavaScriptSearchScope |
SearchEngine.createHierarchyScope(IType type,
WorkingCopyOwner owner)
Returns a JavaScript search scope limited to the hierarchy of the given type. |
static TypeNameMatch |
SearchEngine.createTypeNameMatch(IType type,
int modifiers)
Create a type name match on a given type with specific modifiers. |
Uses of IType in org.eclipse.wst.jsdt.ui |
---|
Methods in org.eclipse.wst.jsdt.ui with parameters of type IType | |
---|---|
static void |
JavaScriptElementLabels.getTypeLabel(IType type,
long flags,
StringBuffer buf)
Appends the label for a type to a StringBuffer . |
void |
ITypeHierarchyViewPart.setInput(IType type)
Deprecated. use setInputElement instead |
Uses of IType in org.eclipse.wst.jsdt.ui.refactoring |
---|
Methods in org.eclipse.wst.jsdt.ui.refactoring with parameters of type IType | |
---|---|
static RenameSupport |
RenameSupport.create(IType type,
String newName,
int flags)
Creates a new rename support for the given IType . |
Uses of IType in org.eclipse.wst.jsdt.ui.text.java |
---|
Methods in org.eclipse.wst.jsdt.ui.text.java that return IType | |
---|---|
IType |
JavaContentAssistInvocationContext.getExpectedType()
Returns the expected type if any, null otherwise. |
Uses of IType in org.eclipse.wst.jsdt.ui.wizards |
---|
Methods in org.eclipse.wst.jsdt.ui.wizards that return IType | |
---|---|
protected IType |
NewTypeWizardPage.chooseEnclosingType()
Opens a selection dialog that allows to select an enclosing type. |
protected IType |
NewTypeWizardPage.chooseSuperClass()
Opens a selection dialog that allows to select a super class. |
IType |
NewTypeWizardPage.getCreatedType()
Returns the created type or null is the type has not been created yet. |
IType |
NewTypeWizardPage.getEnclosingType()
Returns the enclosing type corresponding to the current input. |
Methods in org.eclipse.wst.jsdt.ui.wizards with parameters of type IType | |
---|---|
protected IFunction[] |
NewTypeWizardPage.createInheritedMethods(IType type,
boolean doConstructors,
boolean doUnimplementedMethods,
NewTypeWizardPage.ImportsManager imports,
IProgressMonitor monitor)
Creates the bodies of all unimplemented methods and constructors and adds them to the type. |
protected void |
NewTypeWizardPage.createTypeMembers(IType newType,
NewTypeWizardPage.ImportsManager imports,
IProgressMonitor monitor)
Hook method that gets called from createType to support adding of
unanticipated methods, fields, and inner types to the created type. |
protected void |
NewClassWizardPage.createTypeMembers(IType type,
NewTypeWizardPage.ImportsManager imports,
IProgressMonitor monitor)
|
void |
NewTypeWizardPage.setEnclosingType(IType type,
boolean canBeModified)
Sets the enclosing type. |
|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |