org.eclipse.xtext.junit.validation
Class AssertableDiagnostics.Pred
java.lang.Object
org.eclipse.xtext.junit.validation.AssertableDiagnostics.Pred
- All Implemented Interfaces:
- com.google.common.base.Predicate<org.eclipse.emf.common.util.Diagnostic>, AssertableDiagnostics.DiagnosticPredicate
- Enclosing class:
- AssertableDiagnostics
protected static class AssertableDiagnostics.Pred
- extends java.lang.Object
- implements AssertableDiagnostics.DiagnosticPredicate
Field Summary |
protected java.lang.Integer |
code
|
protected java.lang.String |
issueCode
|
protected java.lang.String |
msg
|
protected java.lang.Integer |
severity
|
Constructor Summary |
AssertableDiagnostics.Pred(java.lang.Integer severity,
java.lang.Integer code,
java.lang.String issueCode,
java.lang.String msg)
|
Method Summary |
boolean |
apply(org.eclipse.emf.common.util.Diagnostic d)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
equals |
issueCode
protected java.lang.String issueCode
msg
protected java.lang.String msg
severity
protected java.lang.Integer severity
code
protected java.lang.Integer code
AssertableDiagnostics.Pred
public AssertableDiagnostics.Pred(java.lang.Integer severity,
java.lang.Integer code,
java.lang.String issueCode,
java.lang.String msg)
apply
public boolean apply(org.eclipse.emf.common.util.Diagnostic d)
- Specified by:
apply
in interface com.google.common.base.Predicate<org.eclipse.emf.common.util.Diagnostic>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object