Class JRJdtCompiler.CompilationUnit

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

    public static class JRJdtCompiler.CompilationUnit
    extends Object
    implements org.eclipse.jdt.internal.compiler.env.ICompilationUnit
    • Field Detail

      • srcCode

        protected String srcCode
      • className

        protected String className
    • Constructor Detail

      • CompilationUnit

        public CompilationUnit​(String srcCode,
                               String className)
    • 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