Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 3 | 3 | 0.952 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 678 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfo.java |
2 | 13 | 701 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfo.java |
3 | 12 | 723 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfo.java |
| |||||
/** * Retrieve whether the passed string is a keyword. * * @param keyword String to check. * * @return <TT>true</TT> if a keyword. */ public boolean isKeyword(CaseInsensitiveString data) { if ( !_loading && data != null) { return _schemaInfoCache.getKeywordsForReadOnly().containsKey(data); } return false; } public boolean isDataType(String data) { return isDataType(new CaseInsensitiveString(data)); } |
| |||||
/** * Retrieve whether the passed string is a data type. * * @param keyword String to check. * * @return <TT>true</TT> if a data type. */ public boolean isDataType(CaseInsensitiveString data) { if ( !_loading && data != null) { return _schemaInfoCache.getDataTypesForReadOnly().containsKey(data); } return false; } public boolean isFunction(String data) { return isFunction(new CaseInsensitiveString(data)); } |
| |||||
/** * Retrieve whether the passed string is a function. * * @param keyword String to check. * * @return <TT>true</TT> if a function. */ public boolean isFunction(CaseInsensitiveString data) { if ( !_loading && data != null) { return _schemaInfoCache.getFunctionsForReadOnly().containsKey(data); } return false; } public boolean isTable(String data) { return isTable(new CaseInsensitiveString(data)); } |
| |||
/** * Retrieve whether the passed string is a keyword. * * @param keyword String to check. * * @return <TT>true</TT> if a keyword. */ /** * Retrieve whether the passed string is a data type. * * @param keyword String to check. * * @return <TT>true</TT> if a data type. */ /** * Retrieve whether the passed string is a function. * * @param keyword String to check. * * @return <TT>true</TT> if a function. */ public boolean [[#variable1cecb700]](CaseInsensitiveString data) { if ( !_loading && data != null) { return _schemaInfoCache. [[#variable1cecb620]]().containsKey(data); } return false; } public boolean [[#variable1cecb600]](String data) { return [[#variable1cecb600]](new CaseInsensitiveString(data)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cecb700]] | isKeyword |
1 | 2 | [[#1cecb700]] | isDataType |
1 | 3 | [[#1cecb700]] | isFunction |
2 | 1 | [[#1cecb620]] | getKeywordsForReadOnly |
2 | 2 | [[#1cecb620]] | getDataTypesForReadOnly |
2 | 3 | [[#1cecb620]] | getFunctionsForReadOnly |
3 | 1 | [[#1cecb600]] | isDataType |
3 | 2 | [[#1cecb600]] | isFunction |
3 | 3 | [[#1cecb600]] | isTable |