Lines 13-25
Link Here
|
13 |
import org.eclipse.jdt.core.*; |
13 |
import org.eclipse.jdt.core.*; |
14 |
|
14 |
|
15 |
/** |
15 |
/** |
16 |
* A match collected while searching for {@link SearchEngine} |
16 |
* A match collected while {@link SearchEngine searching} for |
17 |
* all type names methods using a {@link TypeNameRequestor requestor}. |
17 |
* all type names methods using a {@link TypeNameRequestor requestor}. |
18 |
* <p> |
18 |
* <p> |
19 |
* User can get type from this match using {@link #getType()} method. |
19 |
* The type of this match is available from {@link #getType()}. |
20 |
* </p> |
20 |
* </p> |
21 |
* <p> |
21 |
* <p> |
22 |
* This class is intented to be overridden by clients. |
22 |
* This class is intended to be overridden by clients. |
23 |
* </p> |
23 |
* </p> |
24 |
* |
24 |
* |
25 |
* @see TypeNameMatchRequestor |
25 |
* @see TypeNameMatchRequestor |
Lines 30-36
Link Here
|
30 |
public abstract class TypeNameMatch { |
30 |
public abstract class TypeNameMatch { |
31 |
|
31 |
|
32 |
/** |
32 |
/** |
33 |
* Returns the matched type fully qualified name using '.' character |
33 |
* Returns the matched type's fully qualified name using '.' character |
34 |
* as separator (e.g. package name + '.' enclosing type names + '.' simple name). |
34 |
* as separator (e.g. package name + '.' enclosing type names + '.' simple name). |
35 |
* |
35 |
* |
36 |
* @see #getType() |
36 |
* @see #getType() |
Lines 114-120
Link Here
|
114 |
* @see IMember#getDeclaringType() |
114 |
* @see IMember#getDeclaringType() |
115 |
* |
115 |
* |
116 |
* @throws NullPointerException if matched type is <code> null</code> |
116 |
* @throws NullPointerException if matched type is <code> null</code> |
117 |
* @return Name of the type container |
117 |
* @return name of the type container |
118 |
*/ |
118 |
*/ |
119 |
public String getTypeContainerName() { |
119 |
public String getTypeContainerName() { |
120 |
IType outerType = getType().getDeclaringType(); |
120 |
IType outerType = getType().getDeclaringType(); |
Lines 126-139
Link Here
|
126 |
} |
126 |
} |
127 |
|
127 |
|
128 |
/** |
128 |
/** |
129 |
* Returns the matched type qualified name using '.' character |
129 |
* Returns the matched type's type qualified name using '.' character |
130 |
* as separator (e.g. enclosing type names + '.' + simple name). |
130 |
* as separator (e.g. enclosing type names + '.' + simple name). |
131 |
* |
131 |
* |
132 |
* @see #getType() |
132 |
* @see #getType() |
133 |
* @see IType#getTypeQualifiedName(char) |
133 |
* @see IType#getTypeQualifiedName(char) |
134 |
* |
134 |
* |
135 |
* @throws NullPointerException if matched type is <code> null</code> |
135 |
* @throws NullPointerException if matched type is <code> null</code> |
136 |
* @return Fully qualified type name of the type |
136 |
* @return fully qualified type name of the type |
137 |
*/ |
137 |
*/ |
138 |
public String getTypeQualifiedName() { |
138 |
public String getTypeQualifiedName() { |
139 |
return getType().getTypeQualifiedName('.'); |
139 |
return getType().getTypeQualifiedName('.'); |