Klasse TypeNameMatch
java.lang.Object
org.aspectj.org.eclipse.jdt.core.search.TypeNameMatch
- Bekannte direkte Unterklassen:
JavaSearchTypeNameMatch
A match collected while
searching
for
all type names methods using a requestor
.
The type of this match is available from getType()
.
- Seit:
- 3.3
- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract int
Returns the accessibility of the type name matchReturns the matched type's fully qualified name using '.' character as separator (e.g. package name + '.' enclosing type names + '.' simple name).abstract int
Returns the modifiers of the matched type.Returns the package fragment root of the stored type.Returns the package name of the stored type.Returns the name of the stored type.abstract IType
getType()
Returns a java model type handle.Name of the type container using '.' character as separator (e.g. package name + '.' + enclosing type names).Returns the matched type's type qualified name using '.' character as separator (e.g. enclosing type names + '.' + simple name).
-
Konstruktordetails
-
TypeNameMatch
public TypeNameMatch()
-
-
Methodendetails
-
getAccessibility
public abstract int getAccessibility()Returns the accessibility of the type name match- Gibt zurück:
- the accessibility of the type name which may be
IAccessRule.K_ACCESSIBLE
,IAccessRule.K_DISCOURAGED
orIAccessRule.K_NON_ACCESSIBLE
. The default returned value isIAccessRule.K_ACCESSIBLE
. - Seit:
- 3.6
- Siehe auch:
-
getFullyQualifiedName
Returns the matched type's fully qualified name using '.' character as separator (e.g. package name + '.' enclosing type names + '.' simple name).- Gibt zurück:
- Fully qualified type name of the type
- Löst aus:
NullPointerException
- if matched type isnull
- Siehe auch:
-
getModifiers
public abstract int getModifiers()Returns the modifiers of the matched type.This is a handle-only method as neither Java Model nor classpath initialization is done while calling this method.
- Gibt zurück:
- the type modifiers
-
getPackageFragmentRoot
Returns the package fragment root of the stored type. Package fragment root cannot be null and does exist.- Gibt zurück:
- the existing java model package fragment root (i.e. cannot be
null
and will returntrue
toexists()
message). - Löst aus:
NullPointerException
- if matched type isnull
- Siehe auch:
-
getPackageName
Returns the package name of the stored type.- Gibt zurück:
- the package name
- Löst aus:
NullPointerException
- if matched type isnull
- Siehe auch:
-
getSimpleTypeName
Returns the name of the stored type.- Gibt zurück:
- the type name
- Löst aus:
NullPointerException
- if matched type isnull
- Siehe auch:
-
getType
Returns a java model type handle. This handle may exist or not, but is not supposed to benull
.This is a handle-only method as neither Java Model nor classpath initializations are done while calling this method.
- Gibt zurück:
- the non-null handle on matched java model type.
- Siehe auch:
-
getTypeContainerName
Name of the type container using '.' character as separator (e.g. package name + '.' + enclosing type names).- Gibt zurück:
- name of the type container
- Löst aus:
NullPointerException
- if matched type isnull
- Siehe auch:
-
getTypeQualifiedName
Returns the matched type's type qualified name using '.' character as separator (e.g. enclosing type names + '.' + simple name).- Gibt zurück:
- fully qualified type name of the type
- Löst aus:
NullPointerException
- if matched type isnull
- Siehe auch:
-