Class JavaFileAccess

    • Field Detail

      • JAVA_KEYWORDS

        public static final java.util.Set<java.lang.String> JAVA_KEYWORDS
        A list of keywords in the Java language. Use this to avoid illegal variable names.
      • DONT_IMPORT_NESTED_TYPES

        public static final int DONT_IMPORT_NESTED_TYPES
        Set this value for the 'importNestedTypeThreshold' property to disable importing of nested types
        See Also:
        Constant Field Values
      • imports

        protected final java.util.Map<java.lang.String,​java.lang.String> imports
      • codeConfig

        protected final CodeConfig codeConfig
    • Method Detail

      • getFileExtension

        protected java.lang.String getFileExtension()
      • importType

        public java.lang.String importType​(TypeReference typeRef)
      • setContent

        public void setContent​(org.eclipse.xtend2.lib.StringConcatenationClient javaContent)
        Overrides:
        setContent in class TextFileAccess
      • appendSemicolons

        protected boolean appendSemicolons()
      • getInternalContent

        protected java.lang.CharSequence getInternalContent()
      • getImportNestedTypeThreshold

        @Pure
        public int getImportNestedTypeThreshold()
      • setImportNestedTypeThreshold

        public void setImportNestedTypeThreshold​(int importNestedTypeThreshold)
      • isMarkedAsGenerated

        @Pure
        public boolean isMarkedAsGenerated()
      • setMarkedAsGenerated

        public void setMarkedAsGenerated​(boolean markedAsGenerated)
      • setResourceSet

        public void setResourceSet​(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)