CloneSet9845


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24220.972class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
124671
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingResolver.java
223716
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingResolver.java
Clone Instance
1
Line Count
24
Source Line
671
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingResolver.java

        /**
         * Resolves the given annotation type declaration and returns the binding
         * for it.
         * <p>
         * The implementation of <code>AnnotationTypeDeclaration.resolveBinding</code> 
         * forwards to this method. How the declaration resolves is often a 
         * function of the context in which the declaration node is embedded as well
         * as the declaration subtree itself.
         * </p>
         * <p>
         * The default implementation of this method returns <code>null</code>.
         * Subclasses may reimplement.
         * </p>
         * 
         * @param type the annotation type declaration of interest
         * @return the binding for the given annotation type declaration, or <code>null</code>
         *    if no binding is available
         * @since 3.0
         */
        ITypeBinding resolveType(AnnotationTypeDeclaration type) {
                return null;
        }

        /**
         * Resolves the given anonymous class declaration and returns the binding
         * for it.
         * <p>
         * The implementation of <code>AnonymousClassDeclaration.resolveBinding</code> 
         * forwards to this method. How the declaration resolves is often a 
         * function of the context in which the declaration node is embedded as well
         * as the declaration subtree itself.
         * </p>
         * <p>
         * The default implementation of this method returns <code>null</code>.
         * Subclasses may reimplement.
         * </p>
         * 
         * @param type the anonymous class declaration of interest
         * @return the binding for the given class declaration, or <code>null</code>
         *    if no binding is available
         */
        ITypeBinding resolveType(AnonymousClassDeclaration type) {
                return null;
        }


Clone Instance
2
Line Count
23
Source Line
716
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingResolver.java

        /**
         * Resolves the given enum declaration and returns the binding
         * for it.
         * <p>
         * The implementation of <code>EnumDeclaration.resolveBinding</code> 
         * forwards to this method. How the enum declaration resolves is often
         * a function of the context in which the declaration node is embedded
         * as well as the enum declaration subtree itself.
         * </p>
         * <p>
         * The default implementation of this method returns <code>null</code>.
         * Subclasses may reimplement.
         * </p>
         * 
         * @param type the enum declaration of interest
         * @return the binding for the given enum declaration, or <code>null</code>
         *    if no binding is available
         * @since 3.0
         */
        ITypeBinding resolveType(EnumDeclaration type) {
                return null;
        }

        /**
         * Resolves the given type and returns the type binding for it.
         * <p>
         * The implementation of <code>Type.resolveBinding</code>
         * forwards to this method. How the type resolves is often a function
         * of the context in which the type node is embedded as well as the type
         * subtree itself.
         * </p>
         * <p>
         * The default implementation of this method returns <code>null</code>.
         * Subclasses may reimplement.
         * </p>
         * 
         * @param type the type of interest
         * @return the binding for the given type, or <code>null</code>
         *    if no binding is available 
         */
        ITypeBinding resolveType(Type type) {
                return null;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Resolves the given annotation type declaration and returns the binding
         * for it.
         * <p>
         * The implementation of <code>AnnotationTypeDeclaration.resolveBinding</code> 
         * forwards to this method. How the declaration resolves is often a 
         * function of the context in which the declaration node is embedded as well
         * as the declaration subtree itself.
         * </p>
         * <p>
         * The default implementation of this method returns <code>null</code>.
         * Subclasses may reimplement.
         * </p>
         * 
         * @param type the annotation type declaration of interest
         * @return the binding for the given annotation type declaration, or <code>null</code>
         *    if no binding is available
         * @since 3.0
         */
/**
         * Resolves the given enum declaration and returns the binding
         * for it.
         * <p>
         * The implementation of <code>EnumDeclaration.resolveBinding</code> 
         * forwards to this method. How the enum declaration resolves is often
         * a function of the context in which the declaration node is embedded
         * as well as the enum declaration subtree itself.
         * </p>
         * <p>
         * The default implementation of this method returns <code>null</code>.
         * Subclasses may reimplement.
         * </p>
         * 
         * @param type the enum declaration of interest
         * @return the binding for the given enum declaration, or <code>null</code>
         *    if no binding is available
         * @since 3.0
         */
ITypeBinding resolveType( [[#variablea1bd18a0]] type) {
  return null;
}

/**
         * Resolves the given anonymous class declaration and returns the binding
         * for it.
         * <p>
         * The implementation of <code>AnonymousClassDeclaration.resolveBinding</code> 
         * forwards to this method. How the declaration resolves is often a 
         * function of the context in which the declaration node is embedded as well
         * as the declaration subtree itself.
         * </p>
         * <p>
         * The default implementation of this method returns <code>null</code>.
         * Subclasses may reimplement.
         * </p>
         * 
         * @param type the anonymous class declaration of interest
         * @return the binding for the given class declaration, or <code>null</code>
         *    if no binding is available
         */
/**
         * Resolves the given type and returns the type binding for it.
         * <p>
         * The implementation of <code>Type.resolveBinding</code>
         * forwards to this method. How the type resolves is often a function
         * of the context in which the type node is embedded as well as the type
         * subtree itself.
         * </p>
         * <p>
         * The default implementation of this method returns <code>null</code>.
         * Subclasses may reimplement.
         * </p>
         * 
         * @param type the type of interest
         * @return the binding for the given type, or <code>null</code>
         *    if no binding is available 
         */
ITypeBinding resolveType( [[#variablea1bd1000]] type) {
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1bd18a0]]
AnnotationTypeDeclaration 
12[[#a1bd18a0]]
EnumDeclaration 
21[[#a1bd1000]]
AnonymousClassDeclaration 
22[[#a1bd1000]]
Type