org.eclipse.cdt.make.core.scannerconfig
Class InfoContext
java.lang.Object
org.eclipse.cdt.make.core.scannerconfig.InfoContext
public final class InfoContext
- extends java.lang.Object
Constructor Summary |
InfoContext(org.eclipse.core.resources.IProject project)
|
InfoContext(org.eclipse.core.resources.IProject project,
java.lang.String instanceId)
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getInstanceId()
|
org.eclipse.core.resources.IProject |
getProject()
|
int |
hashCode()
|
boolean |
isDefaultContext()
a convenience method that specifies whether this is a default context,
i.e. the one defined for the project with no extension filters |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
InfoContext
public InfoContext(org.eclipse.core.resources.IProject project)
InfoContext
public InfoContext(org.eclipse.core.resources.IProject project,
java.lang.String instanceId)
getInstanceId
public java.lang.String getInstanceId()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isDefaultContext
public boolean isDefaultContext()
- a convenience method that specifies whether this is a default context,
i.e. the one defined for the project with no extension filters
- Returns:
- boolean
getProject
public org.eclipse.core.resources.IProject getProject()