|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer
public class NameEnvironmentAnswer
| 构造方法摘要 | |
|---|---|
NameEnvironmentAnswer(IBinaryType binaryType,
AccessRestriction accessRestriction)
|
|
NameEnvironmentAnswer(ICompilationUnit compilationUnit,
AccessRestriction accessRestriction)
|
|
NameEnvironmentAnswer(ISourceType[] sourceTypes,
AccessRestriction accessRestriction)
|
|
| 方法摘要 | |
|---|---|
AccessRestriction |
getAccessRestriction()
Returns the associated access restriction, or null if none. |
IBinaryType |
getBinaryType()
Answer the resolved binary form for the type or null if the receiver represents a compilation unit or source type. |
ICompilationUnit |
getCompilationUnit()
Answer the compilation unit or null if the receiver represents a binary or source type. |
ISourceType[] |
getSourceTypes()
Answer the unresolved source forms for the type or null if the receiver represents a compilation unit or binary type. |
boolean |
ignoreIfBetter()
|
boolean |
isBetter(NameEnvironmentAnswer otherAnswer)
|
boolean |
isBinaryType()
Answer whether the receiver contains the resolved binary form of the type. |
boolean |
isCompilationUnit()
Answer whether the receiver contains the compilation unit which defines the type. |
boolean |
isSourceType()
Answer whether the receiver contains the unresolved source form of the type. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public NameEnvironmentAnswer(IBinaryType binaryType,
AccessRestriction accessRestriction)
public NameEnvironmentAnswer(ICompilationUnit compilationUnit,
AccessRestriction accessRestriction)
public NameEnvironmentAnswer(ISourceType[] sourceTypes,
AccessRestriction accessRestriction)
| 方法详细信息 |
|---|
public AccessRestriction getAccessRestriction()
public IBinaryType getBinaryType()
public ICompilationUnit getCompilationUnit()
public ISourceType[] getSourceTypes()
public boolean isBinaryType()
public boolean isCompilationUnit()
public boolean isSourceType()
public boolean ignoreIfBetter()
public boolean isBetter(NameEnvironmentAnswer otherAnswer)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||