Klasse JavaSearchTypeNameMatch
java.lang.Object
org.aspectj.org.eclipse.jdt.core.search.TypeNameMatch
org.aspectj.org.eclipse.jdt.internal.core.search.JavaSearchTypeNameMatch
Java Search concrete class for a type name match.
- Seit:
- 3.3
-
Konstruktorübersicht
KonstruktorBeschreibungJavaSearchTypeNameMatch
(IType type, int modifiers) Creates a new Java Search type name match. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
int
Returns the accessibility of the type name matchint
Returns the modifiers of the matched type.getType()
Returns a java model type handle.int
hashCode()
void
setAccessibility
(int accessibility) Sets the accessibility of the accepted match.void
setModifiers
(int modifiers) Set modifiers of the matched type.void
Set matched type.toString()
Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.core.search.TypeNameMatch
getFullyQualifiedName, getPackageFragmentRoot, getPackageName, getSimpleTypeName, getTypeContainerName, getTypeQualifiedName
-
Konstruktordetails
-
JavaSearchTypeNameMatch
Creates a new Java Search type name match.
-
-
Methodendetails
-
equals
-
getAccessibility
public int getAccessibility()Beschreibung aus Klasse kopiert:TypeNameMatch
Returns the accessibility of the type name match- Angegeben von:
getAccessibility
in KlasseTypeNameMatch
- 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
. - Siehe auch:
-
getModifiers
public int getModifiers()Beschreibung aus Klasse kopiert:TypeNameMatch
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.
- Angegeben von:
getModifiers
in KlasseTypeNameMatch
- Gibt zurück:
- the type modifiers
-
getType
Beschreibung aus Klasse kopiert:TypeNameMatch
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.
- Angegeben von:
getType
in KlasseTypeNameMatch
- Gibt zurück:
- the non-null handle on matched java model type.
- Siehe auch:
-
hashCode
public int hashCode() -
setAccessibility
public void setAccessibility(int accessibility) Sets the accessibility of the accepted match.- Parameter:
accessibility
- the accessibility of the current match
-
setModifiers
public void setModifiers(int modifiers) Set modifiers of the matched type.- Parameter:
modifiers
- the modifiers of the matched type.
-
setType
Set matched type.- Parameter:
type
- the matched type.
-
toString
-