Class EclipseJavaCompiler.CompilationUnit

  • All Implemented Interfaces:
    org.eclipse.jdt.internal.compiler.env.ICompilationUnit, org.eclipse.jdt.internal.compiler.env.IDependent
    Enclosing class:
    EclipseJavaCompiler

    final class EclipseJavaCompiler.CompilationUnit
    extends java.lang.Object
    implements org.eclipse.jdt.internal.compiler.env.ICompilationUnit
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String clazzName  
      private java.lang.String fileName  
      private char[][] packageName  
      private ResourceReader reader  
      private char[] typeName  
      • Fields inherited from interface org.eclipse.jdt.internal.compiler.env.IDependent

        JAR_FILE_ENTRY_SEPARATOR
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char[] getContents()  
      char[] getFileName()  
      char[] getMainTypeName()  
      char[][] getPackageName()  
      boolean ignoreOptionalProblems()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.eclipse.jdt.internal.compiler.env.ICompilationUnit

        getDestinationPath, getExternalAnnotationPath, getModuleName, module
    • Field Detail

      • clazzName

        private final java.lang.String clazzName
      • fileName

        private final java.lang.String fileName
      • typeName

        private final char[] typeName
      • packageName

        private final char[][] packageName
    • Constructor Detail

      • CompilationUnit

        CompilationUnit​(ResourceReader pReader,
                        java.lang.String pSourceFile)
    • Method Detail

      • getFileName

        public char[] getFileName()
        Specified by:
        getFileName in interface org.eclipse.jdt.internal.compiler.env.IDependent
      • getContents

        public char[] getContents()
        Specified by:
        getContents in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnit
      • getMainTypeName

        public char[] getMainTypeName()
        Specified by:
        getMainTypeName in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnit
      • getPackageName

        public char[][] getPackageName()
        Specified by:
        getPackageName in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnit
      • ignoreOptionalProblems

        public boolean ignoreOptionalProblems()
        Specified by:
        ignoreOptionalProblems in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnit