org.mybatis.generator.eclipse.core.merge
Class EclipseDomUtils
java.lang.Object
org.mybatis.generator.eclipse.core.merge.EclipseDomUtils
public class EclipseDomUtils
- extends java.lang.Object
Convenience methods for working with Eclipse DOM
- Author:
- Jeff Butler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseDomUtils
public EclipseDomUtils()
importDeclarationsMatch
public static boolean importDeclarationsMatch(ImportDeclaration import1,
ImportDeclaration import2)
typesMatch
public static boolean typesMatch(Type type1,
Type type2)
wildcardTypesMatch
public static boolean wildcardTypesMatch(WildcardType type1,
WildcardType type2)
simpleTypesMatch
public static boolean simpleTypesMatch(SimpleType type1,
SimpleType type2)
primitiveTypesMatch
public static boolean primitiveTypesMatch(PrimitiveType type1,
PrimitiveType type2)
arrayTypesMatch
public static boolean arrayTypesMatch(ArrayType type1,
ArrayType type2)
unionTypesMatch
public static boolean unionTypesMatch(UnionType type1,
UnionType type2)
qualifiedTypesMatch
public static boolean qualifiedTypesMatch(QualifiedType type1,
QualifiedType type2)
parameterizedTypesMatch
public static boolean parameterizedTypesMatch(ParameterizedType type1,
ParameterizedType type2)
getTypeName
public static java.lang.String getTypeName(Type type)
- This method is used to generate a unique string that fully expresses the
type name.
- Parameters:
type
-
- Returns:
getWildcardTypeName
public static java.lang.String getWildcardTypeName(WildcardType type)
getQualifiedTypeName
public static java.lang.String getQualifiedTypeName(QualifiedType type)
getUnionTypeName
public static java.lang.String getUnionTypeName(UnionType type)
getArrayTypeName
public static java.lang.String getArrayTypeName(ArrayType type)
getPrimitiveTypeName
public static java.lang.String getPrimitiveTypeName(PrimitiveType type)
getParameterizedTypeName
public static java.lang.String getParameterizedTypeName(ParameterizedType type)
getSimpleTypeName
public static java.lang.String getSimpleTypeName(SimpleType type)
getMethodSignature
public static java.lang.String getMethodSignature(MethodDeclaration node)