CloneSet2855


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15210.991class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11576
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java
21555
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaDocContext.java
Clone Instance
1
Line Count
15
Source Line
76
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java

        /**
         * Creates a java template context.
         * 
         * @param type   the context type.
         * @param document the document.
         * @param completionOffset the completion offset within the document.
         * @param completionLength the completion length.
         * @param compilationUnit the compilation unit (may be <code>null</code>).
         */
        public JavaContext(TemplateContextType type, IDocument document, int completionOffset, int completionLength, ICompilationUnit compilationUnit) {
                super(type, document, completionOffset, completionLength, compilationUnit);
        }

        /**
         * Creates a java template context.
         * 
         * @param type   the context type.
         * @param document the document.
         * @param completionPosition the position defining the completion offset and length 
         * @param compilationUnit the compilation unit (may be <code>null</code>).
         * @since 3.2
         */
        public JavaContext(TemplateContextType type, IDocument document, Position completionPosition, ICompilationUnit compilationUnit) {
                super(type, document, completionPosition, compilationUnit);
        }


Clone Instance
2
Line Count
15
Source Line
55
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaDocContext.java

        /**
         * Creates a javadoc template context.
         * 
         * @param type the context type.
         * @param document the document.
         * @param completionOffset the completion offset within the document.
         * @param completionLength the completion length within the document.
         * @param compilationUnit the compilation unit (may be <code>null</code>).
         */
        public JavaDocContext(TemplateContextType type, IDocument document, int completionOffset, int completionLength, ICompilationUnit compilationUnit) {
                super(type, document, completionOffset, completionLength, compilationUnit);
        }

        /**
         * Creates a javadoc template context.
         * 
         * @param type the context type.
         * @param document the document.
         * @param completionPosition the position defining the completion offset and length 
         * @param compilationUnit the compilation unit (may be <code>null</code>).
         * @since 3.2
         */
        public JavaDocContext(TemplateContextType type, IDocument document, Position completionPosition, ICompilationUnit compilationUnit) {
                super(type, document, completionPosition, compilationUnit);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Creates a java template context.
         * 
         * @param type   the context type.
         * @param document the document.
         * @param completionOffset the completion offset within the document.
         * @param completionLength the completion length.
         * @param compilationUnit the compilation unit (may be <code>null</code>).
         */
/**
         * Creates a javadoc template context.
         * 
         * @param type the context type.
         * @param document the document.
         * @param completionOffset the completion offset within the document.
         * @param completionLength the completion length within the document.
         * @param compilationUnit the compilation unit (may be <code>null</code>).
         */
public [[#variablea39455c0]](TemplateContextType type, IDocument document, int completionOffset, int completionLength, ICompilationUnit compilationUnit) {
  super(type, document, completionOffset, completionLength, compilationUnit);
}

/**
         * Creates a java template context.
         * 
         * @param type   the context type.
         * @param document the document.
         * @param completionPosition the position defining the completion offset and length 
         * @param compilationUnit the compilation unit (may be <code>null</code>).
         * @since 3.2
         */
/**
         * Creates a javadoc template context.
         * 
         * @param type the context type.
         * @param document the document.
         * @param completionPosition the position defining the completion offset and length 
         * @param compilationUnit the compilation unit (may be <code>null</code>).
         * @since 3.2
         */
public [[#variablea39455c0]](TemplateContextType type, IDocument document, Position completionPosition, ICompilationUnit compilationUnit) {
  super(type, document, completionPosition, compilationUnit);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a39455c0]]
JavaContext 
12[[#a39455c0]]
JavaDocContext