|
Eclipse JDT Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jdt.core.search.TypeNameMatch
public abstract class TypeNameMatch
A match collected while searching for
all type names methods using a requestor.
The type of this match is available from getType().
TypeNameMatchRequestor,
SearchEngine.searchAllTypeNames(char[], int, char[], int, int, IJavaSearchScope, TypeNameMatchRequestor, int, org.eclipse.core.runtime.IProgressMonitor),
SearchEngine.searchAllTypeNames(char[][], char[][], IJavaSearchScope, TypeNameMatchRequestor, int, org.eclipse.core.runtime.IProgressMonitor)| Constructor Summary | |
|---|---|
TypeNameMatch()
|
|
| Method Summary | |
|---|---|
abstract int |
getAccessibility()
Returns the accessibility of the type name match |
String |
getFullyQualifiedName()
Returns the matched type's fully qualified name using '.' character as separator (e.g. package name + '.' enclosing type names + '.' simple name). |
abstract int |
getModifiers()
Returns the modifiers of the matched type. |
IPackageFragmentRoot |
getPackageFragmentRoot()
Returns the package fragment root of the stored type. |
String |
getPackageName()
Returns the package name of the stored type. |
String |
getSimpleTypeName()
Returns the name of the stored type. |
abstract IType |
getType()
Returns a java model type handle. |
String |
getTypeContainerName()
Name of the type container using '.' character as separator (e.g. package name + '.' + enclosing type names). |
String |
getTypeQualifiedName()
Returns the matched type's type qualified name using '.' character as separator (e.g. enclosing type names + '.' + simple name). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeNameMatch()
| Method Detail |
|---|
public abstract int getAccessibility()
IAccessRule.K_ACCESSIBLE, IAccessRule.K_DISCOURAGED
or IAccessRule.K_NON_ACCESSIBLE.
The default returned value is IAccessRule.K_ACCESSIBLE.IAccessRulepublic String getFullyQualifiedName()
NullPointerException - if matched type is nullgetType(),
IType.getFullyQualifiedName(char)public abstract int getModifiers()
This is a handle-only method as neither Java Model nor classpath initialization is done while calling this method.
public IPackageFragmentRoot getPackageFragmentRoot()
null
and will return true to exists() message).
NullPointerException - if matched type is nullgetType(),
IJavaElement.getAncestor(int)public String getPackageName()
NullPointerException - if matched type is nullgetType(),
IType.getPackageFragment()public String getSimpleTypeName()
NullPointerException - if matched type is nullgetType(),
IJavaElement.getElementName()public abstract IType getType()
null.
This is a handle-only method as neither Java Model nor classpath initializations are done while calling this method.
ITypepublic String getTypeContainerName()
NullPointerException - if matched type is nullgetType(),
IMember.getDeclaringType()public String getTypeQualifiedName()
NullPointerException - if matched type is nullgetType(),
IType.getTypeQualifiedName(char)
|
Eclipse JDT Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.