Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
24 | 2 | 2 | 0.972 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 24 | 671 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingResolver.java |
2 | 23 | 716 | 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; } |
| ||||
/** * 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; } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a1bd18a0]] | AnnotationTypeDeclaration |
1 | 2 | [[#a1bd18a0]] | EnumDeclaration |
2 | 1 | [[#a1bd1000]] | AnonymousClassDeclaration |
2 | 2 | [[#a1bd1000]] | Type |