Klasse TypeNameMatch

java.lang.Object
org.aspectj.org.eclipse.jdt.core.search.TypeNameMatch
Bekannte direkte Unterklassen:
JavaSearchTypeNameMatch

public abstract class TypeNameMatch extends Object
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:
  • 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 or IAccessRule.K_NON_ACCESSIBLE. The default returned value is IAccessRule.K_ACCESSIBLE.
      Seit:
      3.6
      Siehe auch:
    • getFullyQualifiedName

      public String 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 is null
      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

      public IPackageFragmentRoot 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 return true to exists() message).
      Löst aus:
      NullPointerException - if matched type is null
      Siehe auch:
    • getPackageName

      public String getPackageName()
      Returns the package name of the stored type.
      Gibt zurück:
      the package name
      Löst aus:
      NullPointerException - if matched type is null
      Siehe auch:
    • getSimpleTypeName

      public String getSimpleTypeName()
      Returns the name of the stored type.
      Gibt zurück:
      the type name
      Löst aus:
      NullPointerException - if matched type is null
      Siehe auch:
    • getType

      public abstract IType getType()
      Returns a java model type handle. This handle may exist or not, but is not supposed to be null.

      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

      public String 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 is null
      Siehe auch:
    • getTypeQualifiedName

      public String 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 is null
      Siehe auch: