public class ErrorSafeExtensions
extends java.lang.Object
Constructor and Description |
---|
ErrorSafeExtensions() |
Modifier and Type | Method and Description |
---|---|
protected ITreeAppendable |
closeErrorAppendable(ITreeAppendable parent,
ITreeAppendable child) |
<T extends org.eclipse.emf.ecore.EObject> |
forEachSafely(ITreeAppendable appendable,
java.lang.Iterable<T> elements,
Procedures.Procedure1<? super LoopParams> loopInitializer,
Procedures.Procedure2<? super T,? super ITreeAppendable> body) |
java.lang.Iterable<Issue> |
getErrors(org.eclipse.emf.ecore.EObject element) |
boolean |
hasErrors(org.eclipse.emf.ecore.EObject element) |
protected ITreeAppendable |
openErrorAppendable(ITreeAppendable parent,
ITreeAppendable child) |
void |
serializeSafely(JvmAnnotationReference annotationRef,
ITreeAppendable appendable,
Procedures.Procedure1<? super ITreeAppendable> onSuccess) |
void |
serializeSafely(JvmTypeReference typeRef,
ITreeAppendable appendable) |
void |
serializeSafely(JvmTypeReference typeRef,
java.lang.String surrogateType,
ITreeAppendable appendable) |
public java.lang.Iterable<Issue> getErrors(org.eclipse.emf.ecore.EObject element)
public boolean hasErrors(org.eclipse.emf.ecore.EObject element)
public <T extends org.eclipse.emf.ecore.EObject> void forEachSafely(ITreeAppendable appendable, java.lang.Iterable<T> elements, Procedures.Procedure1<? super LoopParams> loopInitializer, Procedures.Procedure2<? super T,? super ITreeAppendable> body)
protected ITreeAppendable openErrorAppendable(ITreeAppendable parent, ITreeAppendable child)
protected ITreeAppendable closeErrorAppendable(ITreeAppendable parent, ITreeAppendable child)
public void serializeSafely(JvmTypeReference typeRef, ITreeAppendable appendable)
public void serializeSafely(JvmTypeReference typeRef, java.lang.String surrogateType, ITreeAppendable appendable)
public void serializeSafely(JvmAnnotationReference annotationRef, ITreeAppendable appendable, Procedures.Procedure1<? super ITreeAppendable> onSuccess)