Class RegisterGlobalsContextImpl

  • All Implemented Interfaces:
    org.eclipse.xtend.lib.macro.file.FileLocations, org.eclipse.xtend.lib.macro.file.FileSystemSupport, org.eclipse.xtend.lib.macro.RegisterGlobalsContext, org.eclipse.xtend.lib.macro.services.SourceTypeLookup, org.eclipse.xtend.lib.macro.services.UpstreamTypeLookup

    public class RegisterGlobalsContextImpl
    extends java.lang.Object
    implements org.eclipse.xtend.lib.macro.RegisterGlobalsContext
    • Constructor Detail

      • RegisterGlobalsContextImpl

        public RegisterGlobalsContextImpl()
    • Method Detail

      • registerAnnotationType

        public void registerAnnotationType​(java.lang.String qualifiedName)
                                    throws java.lang.IllegalArgumentException
        Specified by:
        registerAnnotationType in interface org.eclipse.xtend.lib.macro.RegisterGlobalsContext
        Throws:
        java.lang.IllegalArgumentException
      • registerClass

        public void registerClass​(java.lang.String qualifiedName)
                           throws java.lang.IllegalArgumentException
        Specified by:
        registerClass in interface org.eclipse.xtend.lib.macro.RegisterGlobalsContext
        Throws:
        java.lang.IllegalArgumentException
      • registerEnumerationType

        public void registerEnumerationType​(java.lang.String qualifiedName)
                                     throws java.lang.IllegalArgumentException
        Specified by:
        registerEnumerationType in interface org.eclipse.xtend.lib.macro.RegisterGlobalsContext
        Throws:
        java.lang.IllegalArgumentException
      • registerInterface

        public void registerInterface​(java.lang.String qualifiedName)
                               throws java.lang.IllegalArgumentException
        Specified by:
        registerInterface in interface org.eclipse.xtend.lib.macro.RegisterGlobalsContext
        Throws:
        java.lang.IllegalArgumentException
      • getFileSystemSupport

        @Delegate
        public org.eclipse.xtend.lib.macro.file.FileSystemSupport getFileSystemSupport()
      • getFileLocations

        @Delegate
        public org.eclipse.xtend.lib.macro.file.FileLocations getFileLocations()
      • getAcceptor

        @Pure
        public org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor getAcceptor()
      • setAcceptor

        public void setAcceptor​(org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor acceptor)
      • exists

        public boolean exists​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        exists in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getCharset

        public java.lang.String getCharset​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        getCharset in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getChildren

        public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.file.Path> getChildren​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        getChildren in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getContents

        public java.lang.CharSequence getContents​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        getContents in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getContentsAsStream

        public java.io.InputStream getContentsAsStream​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        getContentsAsStream in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getLastModification

        public long getLastModification​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        getLastModification in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • isFile

        public boolean isFile​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        isFile in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • isFolder

        public boolean isFolder​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        isFolder in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • toURI

        public java.net.URI toURI​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        toURI in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getProjectFolder

        public org.eclipse.xtend.lib.macro.file.Path getProjectFolder​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        getProjectFolder in interface org.eclipse.xtend.lib.macro.file.FileLocations
      • getProjectSourceFolders

        public java.util.Set<org.eclipse.xtend.lib.macro.file.Path> getProjectSourceFolders​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        getProjectSourceFolders in interface org.eclipse.xtend.lib.macro.file.FileLocations
      • getSourceFolder

        public org.eclipse.xtend.lib.macro.file.Path getSourceFolder​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        getSourceFolder in interface org.eclipse.xtend.lib.macro.file.FileLocations
      • getTargetFolder

        public org.eclipse.xtend.lib.macro.file.Path getTargetFolder​(org.eclipse.xtend.lib.macro.file.Path arg0)
        Specified by:
        getTargetFolder in interface org.eclipse.xtend.lib.macro.file.FileLocations
      • findSourceAnnotationType

        public org.eclipse.xtend.lib.macro.declaration.AnnotationTypeDeclaration findSourceAnnotationType​(java.lang.String arg0)
        Specified by:
        findSourceAnnotationType in interface org.eclipse.xtend.lib.macro.services.SourceTypeLookup
      • findSourceClass

        public org.eclipse.xtend.lib.macro.declaration.ClassDeclaration findSourceClass​(java.lang.String arg0)
        Specified by:
        findSourceClass in interface org.eclipse.xtend.lib.macro.services.SourceTypeLookup
      • findSourceEnumerationType

        public org.eclipse.xtend.lib.macro.declaration.EnumerationTypeDeclaration findSourceEnumerationType​(java.lang.String arg0)
        Specified by:
        findSourceEnumerationType in interface org.eclipse.xtend.lib.macro.services.SourceTypeLookup
      • findSourceInterface

        public org.eclipse.xtend.lib.macro.declaration.InterfaceDeclaration findSourceInterface​(java.lang.String arg0)
        Specified by:
        findSourceInterface in interface org.eclipse.xtend.lib.macro.services.SourceTypeLookup
      • findUpstreamType

        public org.eclipse.xtend.lib.macro.declaration.Type findUpstreamType​(java.lang.Class<?> arg0)
        Specified by:
        findUpstreamType in interface org.eclipse.xtend.lib.macro.services.UpstreamTypeLookup
      • findUpstreamType

        public org.eclipse.xtend.lib.macro.declaration.Type findUpstreamType​(java.lang.String arg0)
        Specified by:
        findUpstreamType in interface org.eclipse.xtend.lib.macro.services.UpstreamTypeLookup