Class BrokenTypeRefDetector

  • All Implemented Interfaces:
    org.eclipse.xtext.common.types.util.ITypeReferenceVisitor<java.lang.Boolean>

    public class BrokenTypeRefDetector
    extends org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor.InheritanceAware<java.lang.Boolean>
    A visitor that detects broken type references. Returns true if a broken reference was detected.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor

        org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor.InheritanceAware<Result extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean doVisitCompoundTypeReference​(org.eclipse.xtext.common.types.JvmCompoundTypeReference it)  
      java.lang.Boolean doVisitParameterizedTypeReference​(org.eclipse.xtext.common.types.JvmParameterizedTypeReference it)  
      java.lang.Boolean doVisitTypeReference​(org.eclipse.xtext.common.types.JvmTypeReference it)  
      java.lang.Boolean doVisitWildcardTypeReference​(org.eclipse.xtext.common.types.JvmWildcardTypeReference it)  
      protected java.lang.Boolean handleNullReference()  
      • Methods inherited from class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor.InheritanceAware

        doVisitAnyTypeReference, doVisitGenericArrayTypeReference, doVisitInnerTypeReference, doVisitMultiTypeReference, doVisitSynonymTypeReference, doVisitUnknownTypeReference
      • Methods inherited from class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor

        doVisitDelegateTypeReference, doVisitSpecializedTypeReference, visit
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BrokenTypeRefDetector

        public BrokenTypeRefDetector()
    • Method Detail

      • handleNullReference

        protected java.lang.Boolean handleNullReference()
        Overrides:
        handleNullReference in class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor<java.lang.Boolean>
      • doVisitTypeReference

        public java.lang.Boolean doVisitTypeReference​(org.eclipse.xtext.common.types.JvmTypeReference it)
        Specified by:
        doVisitTypeReference in interface org.eclipse.xtext.common.types.util.ITypeReferenceVisitor<java.lang.Boolean>
        Overrides:
        doVisitTypeReference in class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor.InheritanceAware<java.lang.Boolean>
      • doVisitCompoundTypeReference

        public java.lang.Boolean doVisitCompoundTypeReference​(org.eclipse.xtext.common.types.JvmCompoundTypeReference it)
        Specified by:
        doVisitCompoundTypeReference in interface org.eclipse.xtext.common.types.util.ITypeReferenceVisitor<java.lang.Boolean>
        Overrides:
        doVisitCompoundTypeReference in class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor.InheritanceAware<java.lang.Boolean>
      • doVisitParameterizedTypeReference

        public java.lang.Boolean doVisitParameterizedTypeReference​(org.eclipse.xtext.common.types.JvmParameterizedTypeReference it)
        Specified by:
        doVisitParameterizedTypeReference in interface org.eclipse.xtext.common.types.util.ITypeReferenceVisitor<java.lang.Boolean>
        Overrides:
        doVisitParameterizedTypeReference in class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor.InheritanceAware<java.lang.Boolean>
      • doVisitWildcardTypeReference

        public java.lang.Boolean doVisitWildcardTypeReference​(org.eclipse.xtext.common.types.JvmWildcardTypeReference it)
        Specified by:
        doVisitWildcardTypeReference in interface org.eclipse.xtext.common.types.util.ITypeReferenceVisitor<java.lang.Boolean>
        Overrides:
        doVisitWildcardTypeReference in class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor.InheritanceAware<java.lang.Boolean>