Class ProblemSupportImpl
- java.lang.Object
-
- org.eclipse.xtend.core.macro.declaration.ProblemSupportImpl
-
- All Implemented Interfaces:
org.eclipse.xtend.lib.macro.services.ProblemSupport
public class ProblemSupportImpl extends java.lang.Object implements org.eclipse.xtend.lib.macro.services.ProblemSupport
-
-
Constructor Summary
Constructors Constructor Description ProblemSupportImpl(CompilationUnitImpl compilationUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addError(org.eclipse.xtend.lib.macro.declaration.Element element, java.lang.String message)
void
addWarning(org.eclipse.xtend.lib.macro.declaration.Element element, java.lang.String message)
java.util.List<? extends org.eclipse.xtend.lib.macro.services.Problem>
getProblems(org.eclipse.xtend.lib.macro.declaration.Element element)
org.eclipse.emf.ecore.EStructuralFeature
getSignificantFeature(org.eclipse.emf.ecore.EObject obj)
void
validateLater(org.eclipse.xtext.xbase.lib.Procedures.Procedure0 validationCallback)
void
validationPhaseStarted()
-
-
-
Constructor Detail
-
ProblemSupportImpl
public ProblemSupportImpl(CompilationUnitImpl compilationUnit)
-
-
Method Detail
-
addError
public void addError(org.eclipse.xtend.lib.macro.declaration.Element element, java.lang.String message)
- Specified by:
addError
in interfaceorg.eclipse.xtend.lib.macro.services.ProblemSupport
-
addWarning
public void addWarning(org.eclipse.xtend.lib.macro.declaration.Element element, java.lang.String message)
- Specified by:
addWarning
in interfaceorg.eclipse.xtend.lib.macro.services.ProblemSupport
-
validateLater
public void validateLater(org.eclipse.xtext.xbase.lib.Procedures.Procedure0 validationCallback)
- Specified by:
validateLater
in interfaceorg.eclipse.xtend.lib.macro.services.ProblemSupport
-
validationPhaseStarted
public void validationPhaseStarted()
-
getProblems
public java.util.List<? extends org.eclipse.xtend.lib.macro.services.Problem> getProblems(org.eclipse.xtend.lib.macro.declaration.Element element)
- Specified by:
getProblems
in interfaceorg.eclipse.xtend.lib.macro.services.ProblemSupport
-
getSignificantFeature
public org.eclipse.emf.ecore.EStructuralFeature getSignificantFeature(org.eclipse.emf.ecore.EObject obj)
-
-