public static class AnyTypeStackFrame extends XMLTypeResourceImpl.StackFrame { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected AnyType theAnyType; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void handleAttributes(Attributes attributes) { // There are attributes to handle. } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public XMLTypeResourceImpl.StackFrame startElement(String namespace, String localName, String qName, Attributes attributes) throws SAXException { return super.startElement(namespace, localName, qName, attributes); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void endElement(XMLTypeResourceImpl.StackFrame child) throws SAXException { super.endElement(child); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void create() { theAnyType = XMLTypeFactory.eINSTANCE.createAnyType(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected AnyType popAnyType() { pop(); AnyType resultAnyTypeValue = theAnyType; theAnyType = null; return resultAnyTypeValue;
public static class SimpleAnyTypeStackFrame extends XMLTypeResourceImpl.StackFrame { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected SimpleAnyType theSimpleAnyType; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void handleAttributes(Attributes attributes) { // There are attributes to handle. } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public XMLTypeResourceImpl.StackFrame startElement(String namespace, String localName, String qName, Attributes attributes) throws SAXException { return super.startElement(namespace, localName, qName, attributes); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void endElement(XMLTypeResourceImpl.StackFrame child) throws SAXException { super.endElement(child); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void create() { theSimpleAnyType = XMLTypeFactory.eINSTANCE.createSimpleAnyType(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected SimpleAnyType popSimpleAnyType() { pop(); SimpleAnyType resultSimpleAnyTypeValue = theSimpleAnyType; theSimpleAnyType = null; return resultSimpleAnyTypeValue;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/util/XMLTypeResourceImpl.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/util/XMLTypeResourceImpl.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public static class AnyTypeStackFrame extends XMLTypeResourceImpl.StackFrame
1
public static class SimpleAnyTypeStackFrame extends XMLTypeResourceImpl.StackFrame
2
    {
2
    {
3
      /**
3
      /**
4
       * <!-- begin-user-doc -->
4
       * <!-- begin-user-doc -->
5
       * <!-- end-user-doc -->
5
       * <!-- end-user-doc -->
6
       * @generated
6
       * @generated
7
       */
7
       */
8
      protected AnyType theAnyType;
8
      protected SimpleAnyType theSimpleAnyType;
9
    
9
    
10
      /**
10
      /**
11
       * <!-- begin-user-doc -->
11
       * <!-- begin-user-doc -->
12
       * <!-- end-user-doc -->
12
       * <!-- end-user-doc -->
13
       * @generated
13
       * @generated
14
       */
14
       */
15
      @Override
15
      @Override
16
      public void handleAttributes(Attributes attributes)
16
      public void handleAttributes(Attributes attributes)
17
      {
17
      {
18
        // There are attributes to handle.
18
        // There are attributes to handle.
19
      }
19
      }
20
    
20
    
21
      /**
21
      /**
22
       * <!-- begin-user-doc -->
22
       * <!-- begin-user-doc -->
23
       * <!-- end-user-doc -->
23
       * <!-- end-user-doc -->
24
       * @generated
24
       * @generated
25
       */
25
       */
26
      @Override
26
      @Override
27
      public XMLTypeResourceImpl.StackFrame startElement(String namespace, String localName, String qName, Attributes attributes) throws SAXException
27
      public XMLTypeResourceImpl.StackFrame startElement(String namespace, String localName, String qName, Attributes attributes) throws SAXException
28
      {
28
      {
29
        return super.startElement(namespace, localName, qName, attributes);
29
        return super.startElement(namespace, localName, qName, attributes);
30
      }
30
      }
31
      /**
31
      /**
32
       * <!-- begin-user-doc -->
32
       * <!-- begin-user-doc -->
33
       * <!-- end-user-doc -->
33
       * <!-- end-user-doc -->
34
       * @generated
34
       * @generated
35
       */
35
       */
36
      @Override
36
      @Override
37
      public void endElement(XMLTypeResourceImpl.StackFrame child) throws SAXException
37
      public void endElement(XMLTypeResourceImpl.StackFrame child) throws SAXException
38
      {
38
      {
39
        super.endElement(child);
39
        super.endElement(child);
40
      }
40
      }
41
      /**
41
      /**
42
       * <!-- begin-user-doc -->
42
       * <!-- begin-user-doc -->
43
       * <!-- end-user-doc -->
43
       * <!-- end-user-doc -->
44
       * @generated
44
       * @generated
45
       */
45
       */
46
      @Override
46
      @Override
47
      public void create()
47
      public void create()
48
      {
48
      {
49
        theAnyType = XMLTypeFactory.eINSTANCE.createAnyType();
49
        theSimpleAnyType = XMLTypeFactory.eINSTANCE.createSimpleAnyType();
50
      }
50
      }
51
    
51
    
52
      /**
52
      /**
53
       * <!-- begin-user-doc -->
53
       * <!-- begin-user-doc -->
54
       * <!-- end-user-doc -->
54
       * <!-- end-user-doc -->
55
       * @generated
55
       * @generated
56
       */
56
       */
57
      protected AnyType popAnyType()
57
      protected SimpleAnyType popSimpleAnyType()
58
      {
58
      {
59
        pop();
59
        pop();
60
        AnyType resultAnyTypeValue = theAnyType;
60
        SimpleAnyType resultSimpleAnyTypeValue = theSimpleAnyType;
61
        theAnyType = null;
61
        theSimpleAnyType = null;
62
        return resultAnyTypeValue;
62
        return resultSimpleAnyTypeValue;
63
      
63
      
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0