CloneSet2204


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9450.962class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1926
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/AnnotationDeclarationImpl.java
2932
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/EnumDeclarationImpl.java
3915
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/FieldDeclarationImpl.java
4926
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/InterfaceDeclarationImpl.java
Clone Instance
1
Line Count
9
Source Line
26
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/AnnotationDeclarationImpl.java

    public AnnotationDeclarationImpl( final ITypeBinding binding, final BaseProcessorEnv env)
    {
        super(binding, env);
        assert binding.isAnnotation():  "binding does not represent a annotation "; //$NON-NLS-1$
    }

    public void accept(DeclarationVisitor visitor)
    {
        visitor.visitAnnotationTypeDeclaration(this );
    }


Clone Instance
2
Line Count
9
Source Line
32
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/EnumDeclarationImpl.java

    public EnumDeclarationImpl( final ITypeBinding binding, final BaseProcessorEnv env)
    {
        super(binding, env);
        assert binding.isEnum():  "binding is not an enum."; //$NON-NLS-1$
    }

    public void accept(DeclarationVisitor visitor)
    {
        visitor.visitEnumDeclaration(this );
    }


Clone Instance
3
Line Count
9
Source Line
15
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/FieldDeclarationImpl.java

    public FieldDeclarationImpl( final IVariableBinding binding, final BaseProcessorEnv env)
    {
        super(binding, env);
        assert binding.isField():  "binding doesn\'t represent a field"; //$NON-NLS-1$
    }

    public void accept(DeclarationVisitor visitor)
    {
        visitor.visitFieldDeclaration(this );
    }


Clone Instance
4
Line Count
9
Source Line
26
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/InterfaceDeclarationImpl.java

    public InterfaceDeclarationImpl( final ITypeBinding binding, final BaseProcessorEnv env)
    {
        super(binding, env);
        assert binding.isInterface():  "binding does not represents an interface."; //$NON-NLS-1$
    }

    public void accept(DeclarationVisitor visitor)
    {
        visitor.visitInterfaceDeclaration(this );
    }


Clone AbstractionParameter Count: 5Parameter Bindings

public [[#variable606620e0]]( final [[#variable60662080]] binding, final BaseProcessorEnv env) {
  super(binding, env);
  assert binding. [[#variable60662000]](): [[#variableb61b1fc0]]; //$NON-NLS-1$
}

public void accept(DeclarationVisitor visitor) {
  visitor. [[#variableb61b1f00]](this );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#606620e0]]
AnnotationDeclarationImpl 
12[[#606620e0]]
EnumDeclarationImpl 
13[[#606620e0]]
FieldDeclarationImpl 
14[[#606620e0]]
InterfaceDeclarationImpl 
21[[#60662080]]
ITypeBinding 
22[[#60662080]]
ITypeBinding 
23[[#60662080]]
IVariableBinding 
24[[#60662080]]
ITypeBinding 
31[[#60662000]]
isAnnotation 
32[[#60662000]]
isEnum 
33[[#60662000]]
isField 
34[[#60662000]]
isInterface 
41[[#b61b1fc0]]
"binding does not represent a annotation " 
42[[#b61b1fc0]]
"binding is not an enum." 
43[[#b61b1fc0]]
"binding doesn\'t represent a field" 
44[[#b61b1fc0]]
"binding does not represents an interface." 
51[[#b61b1f00]]
visitAnnotationTypeDeclaration 
52[[#b61b1f00]]
visitEnumDeclaration 
53[[#b61b1f00]]
visitFieldDeclaration 
54[[#b61b1f00]]
visitInterfaceDeclaration