Class DefaultIntegrityClassLoader

    • Field Detail

      • classLoader

        @Inject
        protected java.lang.ClassLoader classLoader
        The actual classloader used internally.
      • modelSourceExplorer

        @Inject
        protected ModelSourceExplorer modelSourceExplorer
        The model source explorer.
    • Constructor Detail

      • DefaultIntegrityClassLoader

        public DefaultIntegrityClassLoader()
    • Method Detail

      • loadClass

        public java.lang.Class<?> loadClass​(org.eclipse.xtext.common.types.JvmType aType)
                                     throws java.lang.ClassNotFoundException
        Description copied from interface: IntegrityClassLoader
        Load the class defined by the provided JvmType.
        Specified by:
        loadClass in interface IntegrityClassLoader
        Parameters:
        aType - the type referring to the class
        Returns:
        the loaded class
        Throws:
        java.lang.ClassNotFoundException
      • loadClass

        public java.lang.Class<?> loadClass​(java.lang.String aClassName)
                                     throws java.lang.ClassNotFoundException
        Description copied from interface: IntegrityClassLoader
        Loads the class given by the fully-qualified name.
        Specified by:
        loadClass in interface IntegrityClassLoader
        Parameters:
        aClassName - the class to load
        Returns:
        the loaded class
        Throws:
        java.lang.ClassNotFoundException
      • loadClass

        public java.lang.Class<?> loadClass​(OperationDefinition anOperationDefinition)
                                     throws java.lang.ClassNotFoundException
        Description copied from interface: IntegrityClassLoader
        Load the class defined by the provided OperationDefinition.
        Specified by:
        loadClass in interface IntegrityClassLoader
        Parameters:
        anOperationDefinition - the operation definition referring to the class
        Returns:
        the loaded class
        Throws:
        java.lang.ClassNotFoundException
      • loadClass

        public java.lang.Class<?> loadClass​(MethodReference aMethodReference)
                                     throws java.lang.ClassNotFoundException
        Description copied from interface: IntegrityClassLoader
        Load the class defined by the provided MethodReference.
        Specified by:
        loadClass in interface IntegrityClassLoader
        Parameters:
        aMethodReference - the method reference referring to the class
        Returns:
        the loaded class
        Throws:
        java.lang.ClassNotFoundException
      • loadClass

        public java.lang.Class<?> loadClass​(JavaConstantReference aConstantReference)
                                     throws java.lang.ClassNotFoundException
        Description copied from interface: IntegrityClassLoader
        Load the class defined by the provided JavaConstantReference.
        Specified by:
        loadClass in interface IntegrityClassLoader
        Parameters:
        aConstantReference - the constant reference referring to the class
        Returns:
        the loaded class
        Throws:
        java.lang.ClassNotFoundException
      • loadClass

        public java.lang.Class<?> loadClass​(JavaClassReference aClassReference)
                                     throws java.lang.ClassNotFoundException
        Description copied from interface: IntegrityClassLoader
        Load the class defined by the provided JavaClassReference.
        Specified by:
        loadClass in interface IntegrityClassLoader
        Parameters:
        aClassReference - the class reference referring to the class
        Returns:
        the loaded class
        Throws:
        java.lang.ClassNotFoundException