Interface JavaFactory

All Superinterfaces:
org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
JavaFactoryImpl

public interface JavaFactory
extends org.eclipse.emf.ecore.EFactory
The Factory for the model. It provides a create method for each non-abstract class of the model.
See Also:
JavaPackage
  • Field Details

    • eINSTANCE

      static final JavaFactory eINSTANCE
      The singleton instance of the factory.
  • Method Details

    • createAnnotation

      Annotation createAnnotation()
      Returns a new object of class 'Annotation'.
      Returns:
      a new object of class 'Annotation'.
    • createArchive

      Archive createArchive()
      Returns a new object of class 'Archive'.
      Returns:
      a new object of class 'Archive'.
    • createAssertStatement

      AssertStatement createAssertStatement()
      Returns a new object of class 'Assert Statement'.
      Returns:
      a new object of class 'Assert Statement'.
    • createAnnotationMemberValuePair

      AnnotationMemberValuePair createAnnotationMemberValuePair()
      Returns a new object of class 'Annotation Member Value Pair'.
      Returns:
      a new object of class 'Annotation Member Value Pair'.
    • createAnnotationTypeDeclaration

      AnnotationTypeDeclaration createAnnotationTypeDeclaration()
      Returns a new object of class 'Annotation Type Declaration'.
      Returns:
      a new object of class 'Annotation Type Declaration'.
    • createAnnotationTypeMemberDeclaration

      AnnotationTypeMemberDeclaration createAnnotationTypeMemberDeclaration()
      Returns a new object of class 'Annotation Type Member Declaration'.
      Returns:
      a new object of class 'Annotation Type Member Declaration'.
    • createAnonymousClassDeclaration

      AnonymousClassDeclaration createAnonymousClassDeclaration()
      Returns a new object of class 'Anonymous Class Declaration'.
      Returns:
      a new object of class 'Anonymous Class Declaration'.
    • createArrayAccess

      ArrayAccess createArrayAccess()
      Returns a new object of class 'Array Access'.
      Returns:
      a new object of class 'Array Access'.
    • createArrayCreation

      ArrayCreation createArrayCreation()
      Returns a new object of class 'Array Creation'.
      Returns:
      a new object of class 'Array Creation'.
    • createArrayInitializer

      ArrayInitializer createArrayInitializer()
      Returns a new object of class 'Array Initializer'.
      Returns:
      a new object of class 'Array Initializer'.
    • createArrayLengthAccess

      ArrayLengthAccess createArrayLengthAccess()
      Returns a new object of class 'Array Length Access'.
      Returns:
      a new object of class 'Array Length Access'.
    • createArrayType

      ArrayType createArrayType()
      Returns a new object of class 'Array Type'.
      Returns:
      a new object of class 'Array Type'.
    • createAssignment

      Assignment createAssignment()
      Returns a new object of class 'Assignment'.
      Returns:
      a new object of class 'Assignment'.
    • createBooleanLiteral

      BooleanLiteral createBooleanLiteral()
      Returns a new object of class 'Boolean Literal'.
      Returns:
      a new object of class 'Boolean Literal'.
    • createBlockComment

      BlockComment createBlockComment()
      Returns a new object of class 'Block Comment'.
      Returns:
      a new object of class 'Block Comment'.
    • createBlock

      Block createBlock()
      Returns a new object of class 'Block'.
      Returns:
      a new object of class 'Block'.
    • createBreakStatement

      BreakStatement createBreakStatement()
      Returns a new object of class 'Break Statement'.
      Returns:
      a new object of class 'Break Statement'.
    • createCastExpression

      CastExpression createCastExpression()
      Returns a new object of class 'Cast Expression'.
      Returns:
      a new object of class 'Cast Expression'.
    • createCatchClause

      CatchClause createCatchClause()
      Returns a new object of class 'Catch Clause'.
      Returns:
      a new object of class 'Catch Clause'.
    • createCharacterLiteral

      CharacterLiteral createCharacterLiteral()
      Returns a new object of class 'Character Literal'.
      Returns:
      a new object of class 'Character Literal'.
    • createClassFile

      ClassFile createClassFile()
      Returns a new object of class 'Class File'.
      Returns:
      a new object of class 'Class File'.
    • createClassInstanceCreation

      ClassInstanceCreation createClassInstanceCreation()
      Returns a new object of class 'Class Instance Creation'.
      Returns:
      a new object of class 'Class Instance Creation'.
    • createConstructorDeclaration

      ConstructorDeclaration createConstructorDeclaration()
      Returns a new object of class 'Constructor Declaration'.
      Returns:
      a new object of class 'Constructor Declaration'.
    • createConditionalExpression

      ConditionalExpression createConditionalExpression()
      Returns a new object of class 'Conditional Expression'.
      Returns:
      a new object of class 'Conditional Expression'.
    • createConstructorInvocation

      ConstructorInvocation createConstructorInvocation()
      Returns a new object of class 'Constructor Invocation'.
      Returns:
      a new object of class 'Constructor Invocation'.
    • createClassDeclaration

      ClassDeclaration createClassDeclaration()
      Returns a new object of class 'Class Declaration'.
      Returns:
      a new object of class 'Class Declaration'.
    • createCompilationUnit

      CompilationUnit createCompilationUnit()
      Returns a new object of class 'Compilation Unit'.
      Returns:
      a new object of class 'Compilation Unit'.
    • createContinueStatement

      ContinueStatement createContinueStatement()
      Returns a new object of class 'Continue Statement'.
      Returns:
      a new object of class 'Continue Statement'.
    • createDoStatement

      DoStatement createDoStatement()
      Returns a new object of class 'Do Statement'.
      Returns:
      a new object of class 'Do Statement'.
    • createEmptyStatement

      EmptyStatement createEmptyStatement()
      Returns a new object of class 'Empty Statement'.
      Returns:
      a new object of class 'Empty Statement'.
    • createEnhancedForStatement

      EnhancedForStatement createEnhancedForStatement()
      Returns a new object of class 'Enhanced For Statement'.
      Returns:
      a new object of class 'Enhanced For Statement'.
    • createEnumConstantDeclaration

      EnumConstantDeclaration createEnumConstantDeclaration()
      Returns a new object of class 'Enum Constant Declaration'.
      Returns:
      a new object of class 'Enum Constant Declaration'.
    • createEnumDeclaration

      EnumDeclaration createEnumDeclaration()
      Returns a new object of class 'Enum Declaration'.
      Returns:
      a new object of class 'Enum Declaration'.
    • createExpressionStatement

      ExpressionStatement createExpressionStatement()
      Returns a new object of class 'Expression Statement'.
      Returns:
      a new object of class 'Expression Statement'.
    • createFieldAccess

      FieldAccess createFieldAccess()
      Returns a new object of class 'Field Access'.
      Returns:
      a new object of class 'Field Access'.
    • createFieldDeclaration

      FieldDeclaration createFieldDeclaration()
      Returns a new object of class 'Field Declaration'.
      Returns:
      a new object of class 'Field Declaration'.
    • createForStatement

      ForStatement createForStatement()
      Returns a new object of class 'For Statement'.
      Returns:
      a new object of class 'For Statement'.
    • createIfStatement

      IfStatement createIfStatement()
      Returns a new object of class 'If Statement'.
      Returns:
      a new object of class 'If Statement'.
    • createImportDeclaration

      ImportDeclaration createImportDeclaration()
      Returns a new object of class 'Import Declaration'.
      Returns:
      a new object of class 'Import Declaration'.
    • createInfixExpression

      InfixExpression createInfixExpression()
      Returns a new object of class 'Infix Expression'.
      Returns:
      a new object of class 'Infix Expression'.
    • createInitializer

      Initializer createInitializer()
      Returns a new object of class 'Initializer'.
      Returns:
      a new object of class 'Initializer'.
    • createInstanceofExpression

      InstanceofExpression createInstanceofExpression()
      Returns a new object of class 'Instanceof Expression'.
      Returns:
      a new object of class 'Instanceof Expression'.
    • createInterfaceDeclaration

      InterfaceDeclaration createInterfaceDeclaration()
      Returns a new object of class 'Interface Declaration'.
      Returns:
      a new object of class 'Interface Declaration'.
    • createJavadoc

      Javadoc createJavadoc()
      Returns a new object of class 'Javadoc'.
      Returns:
      a new object of class 'Javadoc'.
    • createLabeledStatement

      LabeledStatement createLabeledStatement()
      Returns a new object of class 'Labeled Statement'.
      Returns:
      a new object of class 'Labeled Statement'.
    • createLineComment

      LineComment createLineComment()
      Returns a new object of class 'Line Comment'.
      Returns:
      a new object of class 'Line Comment'.
    • createManifest

      Manifest createManifest()
      Returns a new object of class 'Manifest'.
      Returns:
      a new object of class 'Manifest'.
    • createManifestAttribute

      ManifestAttribute createManifestAttribute()
      Returns a new object of class 'Manifest Attribute'.
      Returns:
      a new object of class 'Manifest Attribute'.
    • createManifestEntry

      ManifestEntry createManifestEntry()
      Returns a new object of class 'Manifest Entry'.
      Returns:
      a new object of class 'Manifest Entry'.
    • createMemberRef

      MemberRef createMemberRef()
      Returns a new object of class 'Member Ref'.
      Returns:
      a new object of class 'Member Ref'.
    • createMethodDeclaration

      MethodDeclaration createMethodDeclaration()
      Returns a new object of class 'Method Declaration'.
      Returns:
      a new object of class 'Method Declaration'.
    • createMethodInvocation

      MethodInvocation createMethodInvocation()
      Returns a new object of class 'Method Invocation'.
      Returns:
      a new object of class 'Method Invocation'.
    • createMethodRef

      MethodRef createMethodRef()
      Returns a new object of class 'Method Ref'.
      Returns:
      a new object of class 'Method Ref'.
    • createMethodRefParameter

      MethodRefParameter createMethodRefParameter()
      Returns a new object of class 'Method Ref Parameter'.
      Returns:
      a new object of class 'Method Ref Parameter'.
    • createModel

      Model createModel()
      Returns a new object of class 'Model'.
      Returns:
      a new object of class 'Model'.
    • createModifier

      Modifier createModifier()
      Returns a new object of class 'Modifier'.
      Returns:
      a new object of class 'Modifier'.
    • createNumberLiteral

      NumberLiteral createNumberLiteral()
      Returns a new object of class 'Number Literal'.
      Returns:
      a new object of class 'Number Literal'.
    • createNullLiteral

      NullLiteral createNullLiteral()
      Returns a new object of class 'Null Literal'.
      Returns:
      a new object of class 'Null Literal'.
    • createPackage

      Package createPackage()
      Returns a new object of class 'Package'.
      Returns:
      a new object of class 'Package'.
    • createPackageAccess

      PackageAccess createPackageAccess()
      Returns a new object of class 'Package Access'.
      Returns:
      a new object of class 'Package Access'.
    • createParameterizedType

      ParameterizedType createParameterizedType()
      Returns a new object of class 'Parameterized Type'.
      Returns:
      a new object of class 'Parameterized Type'.
    • createParenthesizedExpression

      ParenthesizedExpression createParenthesizedExpression()
      Returns a new object of class 'Parenthesized Expression'.
      Returns:
      a new object of class 'Parenthesized Expression'.
    • createPostfixExpression

      PostfixExpression createPostfixExpression()
      Returns a new object of class 'Postfix Expression'.
      Returns:
      a new object of class 'Postfix Expression'.
    • createPrefixExpression

      PrefixExpression createPrefixExpression()
      Returns a new object of class 'Prefix Expression'.
      Returns:
      a new object of class 'Prefix Expression'.
    • createPrimitiveType

      PrimitiveType createPrimitiveType()
      Returns a new object of class 'Primitive Type'.
      Returns:
      a new object of class 'Primitive Type'.
    • createPrimitiveTypeBoolean

      PrimitiveTypeBoolean createPrimitiveTypeBoolean()
      Returns a new object of class 'Primitive Type Boolean'.
      Returns:
      a new object of class 'Primitive Type Boolean'.
    • createPrimitiveTypeByte

      PrimitiveTypeByte createPrimitiveTypeByte()
      Returns a new object of class 'Primitive Type Byte'.
      Returns:
      a new object of class 'Primitive Type Byte'.
    • createPrimitiveTypeChar

      PrimitiveTypeChar createPrimitiveTypeChar()
      Returns a new object of class 'Primitive Type Char'.
      Returns:
      a new object of class 'Primitive Type Char'.
    • createPrimitiveTypeDouble

      PrimitiveTypeDouble createPrimitiveTypeDouble()
      Returns a new object of class 'Primitive Type Double'.
      Returns:
      a new object of class 'Primitive Type Double'.
    • createPrimitiveTypeShort

      PrimitiveTypeShort createPrimitiveTypeShort()
      Returns a new object of class 'Primitive Type Short'.
      Returns:
      a new object of class 'Primitive Type Short'.
    • createPrimitiveTypeFloat

      PrimitiveTypeFloat createPrimitiveTypeFloat()
      Returns a new object of class 'Primitive Type Float'.
      Returns:
      a new object of class 'Primitive Type Float'.
    • createPrimitiveTypeInt

      PrimitiveTypeInt createPrimitiveTypeInt()
      Returns a new object of class 'Primitive Type Int'.
      Returns:
      a new object of class 'Primitive Type Int'.
    • createPrimitiveTypeLong

      PrimitiveTypeLong createPrimitiveTypeLong()
      Returns a new object of class 'Primitive Type Long'.
      Returns:
      a new object of class 'Primitive Type Long'.
    • createPrimitiveTypeVoid

      PrimitiveTypeVoid createPrimitiveTypeVoid()
      Returns a new object of class 'Primitive Type Void'.
      Returns:
      a new object of class 'Primitive Type Void'.
    • createReturnStatement

      ReturnStatement createReturnStatement()
      Returns a new object of class 'Return Statement'.
      Returns:
      a new object of class 'Return Statement'.
    • createSingleVariableAccess

      SingleVariableAccess createSingleVariableAccess()
      Returns a new object of class 'Single Variable Access'.
      Returns:
      a new object of class 'Single Variable Access'.
    • createSingleVariableDeclaration

      SingleVariableDeclaration createSingleVariableDeclaration()
      Returns a new object of class 'Single Variable Declaration'.
      Returns:
      a new object of class 'Single Variable Declaration'.
    • createStringLiteral

      StringLiteral createStringLiteral()
      Returns a new object of class 'String Literal'.
      Returns:
      a new object of class 'String Literal'.
    • createSuperConstructorInvocation

      SuperConstructorInvocation createSuperConstructorInvocation()
      Returns a new object of class 'Super Constructor Invocation'.
      Returns:
      a new object of class 'Super Constructor Invocation'.
    • createSuperFieldAccess

      SuperFieldAccess createSuperFieldAccess()
      Returns a new object of class 'Super Field Access'.
      Returns:
      a new object of class 'Super Field Access'.
    • createSuperMethodInvocation

      SuperMethodInvocation createSuperMethodInvocation()
      Returns a new object of class 'Super Method Invocation'.
      Returns:
      a new object of class 'Super Method Invocation'.
    • createSwitchCase

      SwitchCase createSwitchCase()
      Returns a new object of class 'Switch Case'.
      Returns:
      a new object of class 'Switch Case'.
    • createSwitchStatement

      SwitchStatement createSwitchStatement()
      Returns a new object of class 'Switch Statement'.
      Returns:
      a new object of class 'Switch Statement'.
    • createSynchronizedStatement

      SynchronizedStatement createSynchronizedStatement()
      Returns a new object of class 'Synchronized Statement'.
      Returns:
      a new object of class 'Synchronized Statement'.
    • createTagElement

      TagElement createTagElement()
      Returns a new object of class 'Tag Element'.
      Returns:
      a new object of class 'Tag Element'.
    • createTextElement

      TextElement createTextElement()
      Returns a new object of class 'Text Element'.
      Returns:
      a new object of class 'Text Element'.
    • createThisExpression

      ThisExpression createThisExpression()
      Returns a new object of class 'This Expression'.
      Returns:
      a new object of class 'This Expression'.
    • createThrowStatement

      ThrowStatement createThrowStatement()
      Returns a new object of class 'Throw Statement'.
      Returns:
      a new object of class 'Throw Statement'.
    • createTryStatement

      TryStatement createTryStatement()
      Returns a new object of class 'Try Statement'.
      Returns:
      a new object of class 'Try Statement'.
    • createTypeAccess

      TypeAccess createTypeAccess()
      Returns a new object of class 'Type Access'.
      Returns:
      a new object of class 'Type Access'.
    • createTypeDeclarationStatement

      TypeDeclarationStatement createTypeDeclarationStatement()
      Returns a new object of class 'Type Declaration Statement'.
      Returns:
      a new object of class 'Type Declaration Statement'.
    • createTypeLiteral

      TypeLiteral createTypeLiteral()
      Returns a new object of class 'Type Literal'.
      Returns:
      a new object of class 'Type Literal'.
    • createTypeParameter

      TypeParameter createTypeParameter()
      Returns a new object of class 'Type Parameter'.
      Returns:
      a new object of class 'Type Parameter'.
    • createUnresolvedItem

      UnresolvedItem createUnresolvedItem()
      Returns a new object of class 'Unresolved Item'.
      Returns:
      a new object of class 'Unresolved Item'.
    • createUnresolvedItemAccess

      UnresolvedItemAccess createUnresolvedItemAccess()
      Returns a new object of class 'Unresolved Item Access'.
      Returns:
      a new object of class 'Unresolved Item Access'.
    • createUnresolvedAnnotationDeclaration

      UnresolvedAnnotationDeclaration createUnresolvedAnnotationDeclaration()
      Returns a new object of class 'Unresolved Annotation Declaration'.
      Returns:
      a new object of class 'Unresolved Annotation Declaration'.
    • createUnresolvedAnnotationTypeMemberDeclaration

      UnresolvedAnnotationTypeMemberDeclaration createUnresolvedAnnotationTypeMemberDeclaration()
      Returns a new object of class 'Unresolved Annotation Type Member Declaration'.
      Returns:
      a new object of class 'Unresolved Annotation Type Member Declaration'.
    • createUnresolvedClassDeclaration

      UnresolvedClassDeclaration createUnresolvedClassDeclaration()
      Returns a new object of class 'Unresolved Class Declaration'.
      Returns:
      a new object of class 'Unresolved Class Declaration'.
    • createUnresolvedEnumDeclaration

      UnresolvedEnumDeclaration createUnresolvedEnumDeclaration()
      Returns a new object of class 'Unresolved Enum Declaration'.
      Returns:
      a new object of class 'Unresolved Enum Declaration'.
    • createUnresolvedInterfaceDeclaration

      UnresolvedInterfaceDeclaration createUnresolvedInterfaceDeclaration()
      Returns a new object of class 'Unresolved Interface Declaration'.
      Returns:
      a new object of class 'Unresolved Interface Declaration'.
    • createUnresolvedLabeledStatement

      UnresolvedLabeledStatement createUnresolvedLabeledStatement()
      Returns a new object of class 'Unresolved Labeled Statement'.
      Returns:
      a new object of class 'Unresolved Labeled Statement'.
    • createUnresolvedMethodDeclaration

      UnresolvedMethodDeclaration createUnresolvedMethodDeclaration()
      Returns a new object of class 'Unresolved Method Declaration'.
      Returns:
      a new object of class 'Unresolved Method Declaration'.
    • createUnresolvedSingleVariableDeclaration

      UnresolvedSingleVariableDeclaration createUnresolvedSingleVariableDeclaration()
      Returns a new object of class 'Unresolved Single Variable Declaration'.
      Returns:
      a new object of class 'Unresolved Single Variable Declaration'.
    • createUnresolvedType

      UnresolvedType createUnresolvedType()
      Returns a new object of class 'Unresolved Type'.
      Returns:
      a new object of class 'Unresolved Type'.
    • createUnresolvedTypeDeclaration

      UnresolvedTypeDeclaration createUnresolvedTypeDeclaration()
      Returns a new object of class 'Unresolved Type Declaration'.
      Returns:
      a new object of class 'Unresolved Type Declaration'.
    • createUnresolvedVariableDeclarationFragment

      UnresolvedVariableDeclarationFragment createUnresolvedVariableDeclarationFragment()
      Returns a new object of class 'Unresolved Variable Declaration Fragment'.
      Returns:
      a new object of class 'Unresolved Variable Declaration Fragment'.
    • createVariableDeclarationExpression

      VariableDeclarationExpression createVariableDeclarationExpression()
      Returns a new object of class 'Variable Declaration Expression'.
      Returns:
      a new object of class 'Variable Declaration Expression'.
    • createVariableDeclarationFragment

      VariableDeclarationFragment createVariableDeclarationFragment()
      Returns a new object of class 'Variable Declaration Fragment'.
      Returns:
      a new object of class 'Variable Declaration Fragment'.
    • createVariableDeclarationStatement

      VariableDeclarationStatement createVariableDeclarationStatement()
      Returns a new object of class 'Variable Declaration Statement'.
      Returns:
      a new object of class 'Variable Declaration Statement'.
    • createWildCardType

      WildCardType createWildCardType()
      Returns a new object of class 'Wild Card Type'.
      Returns:
      a new object of class 'Wild Card Type'.
    • createWhileStatement

      WhileStatement createWhileStatement()
      Returns a new object of class 'While Statement'.
      Returns:
      a new object of class 'While Statement'.
    • getJavaPackage

      JavaPackage getJavaPackage()
      Returns the package supported by this factory.
      Returns:
      the package supported by this factory.